From fd69e123b967775a5e26d545dc9d65be5b41a694 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 14:05:07 +0200 Subject: [PATCH 01/13] added sample --- .../internal/openapi/filter/code_sample.go | 91 +++++++++++++++++++ tools/cli/internal/openapi/filter/filter.go | 1 + .../internal/openapi/filter/filter_test.go | 2 +- 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 tools/cli/internal/openapi/filter/code_sample.go diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go new file mode 100644 index 0000000000..27f91cfd86 --- /dev/null +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -0,0 +1,91 @@ +// Copyright 2025 MongoDB Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package filter + +import ( + "time" + + "github.com/getkin/kin-openapi/openapi3" +) + +const codeSampleExtensionName = "x-codeSamples" + +// https://redocly.com/docs-legacy/api-reference-docs/specification-extensions/x-code-samples#x-codesamples +type codeSample struct { + Lang string `json:"lang,omitempty" yaml:"lang,omitempty"` + Label string `json:"label,omitempty" yaml:"label,omitempty"` + Source string `json:"source,omitempty" yaml:"source,omitempty"` +} + +// CodeSampleFilter modifies includes the fields "x-state" and "x-beta" to the "preview" and "upcoming" APIs Operations. +// The "x-state" and "x-beta" fields are bump.sh custom fields to include budges +// Bump.sh feature: https://docs.bump.sh/help/specification-support/doc-code-samples/#example-usage +type CodeSampleFilter struct { + oas *openapi3.T + metadata *Metadata +} + +func (f *CodeSampleFilter) ValidateMetadata() error { + return validateMetadataWithVersion(f.metadata) +} + +func (f *CodeSampleFilter) Apply() error { + for pathName, p := range f.oas.Paths.Map() { + for opK, op := range p.Operations() { + if err := f.includeCodeSamplesForOperation(pathName, opK, op); err != nil { + return err + } + } + } + + return nil +} + +func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opK string, op *openapi3.Operation) codeSample { + source := "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + + "--header \"Accept: application/vnd.atlas." + f.metadata.targetVersion.Date().Format(time.DateOnly) + "+json\" \\\n " + + switch opK { + case "GET": + source += "-X " + opK + " \"" + pathName + "?pretty=true\"" + case "DELETE": + source += "-X " + opK + " \"" + pathName + "\"" + case "POST", "PATCH", "PUT": + source += "-X " + opK + " \"" + pathName + "\"\n " + source += "-d " + "{ }" + } + + return codeSample{ + Lang: "cURL", + Label: "curl", + Source: source, + } +} + +func (f *CodeSampleFilter) newAtlasCliCodeSamplesForOperation(op *openapi3.Operation) codeSample { + return codeSample{ + Lang: "cURL", + Label: "Atlas CLI", + Source: "atlas api " + op.OperationID + " --help", + } +} + +func (f *CodeSampleFilter) includeCodeSamplesForOperation(pathName, opK string, op *openapi3.Operation) error { + op.Extensions[codeSampleExtensionName] = []codeSample{ + f.newCurlCodeSamplesForOperation(pathName, opK, op), + f.newAtlasCliCodeSamplesForOperation(op), + } + return nil +} diff --git a/tools/cli/internal/openapi/filter/filter.go b/tools/cli/internal/openapi/filter/filter.go index 1e95bdc09a..5967f55f6d 100644 --- a/tools/cli/internal/openapi/filter/filter.go +++ b/tools/cli/internal/openapi/filter/filter.go @@ -81,6 +81,7 @@ func DefaultFilters(oas *openapi3.T, metadata *Metadata) []Filter { &SunsetFilter{oas: oas}, &SchemasFilter{oas: oas}, &BumpFilter{oas: oas, metadata: metadata}, + &CodeSampleFilter{oas: oas, metadata: metadata}, } } diff --git a/tools/cli/internal/openapi/filter/filter_test.go b/tools/cli/internal/openapi/filter/filter_test.go index d6faa66f1f..7cc14eadf5 100644 --- a/tools/cli/internal/openapi/filter/filter_test.go +++ b/tools/cli/internal/openapi/filter/filter_test.go @@ -112,7 +112,7 @@ func TestDefaultFilters(t *testing.T) { metadata := &Metadata{} filters := DefaultFilters(doc, metadata) - assert.Len(t, filters, 10) + assert.Len(t, filters, 11) } func TestFiltersWithoutVersioning(t *testing.T) { From e6437cff5e4e3326b92f922bef1b28fb4635c0f0 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 14:07:15 +0200 Subject: [PATCH 02/13] add sample in openapi --- openapi/v2/openapi-2025-02-19.json | 5643 +++++++++++++++++++++++++++ openapi/v2/openapi-2025-02-19.yaml | 5289 ++++++++++++++++++++++++++ openapi/v2/openapi-2025-03-12.json | 5655 ++++++++++++++++++++++++++++ openapi/v2/openapi-2025-03-12.yaml | 5301 ++++++++++++++++++++++++++ 4 files changed, 21888 insertions(+) diff --git a/openapi/v2/openapi-2025-02-19.json b/openapi/v2/openapi-2025-02-19.json index e96f38b0a1..0cff8f767b 100644 --- a/openapi/v2/openapi-2025-02-19.json +++ b/openapi/v2/openapi-2025-02-19.json @@ -142,6 +142,10 @@ "description": "Returns, adds, edits, or removes an online archive.", "name": "Online Archive" }, + { + "description": "Returns information about the MongoDB Atlas Specification.", + "name": "OpenAPI" + }, { "description": "Returns, adds, and edits organizational units in MongoDB Cloud.", "name": "Organizations" @@ -281,6 +285,18 @@ "tags": [ "Root" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus" } }, @@ -328,6 +344,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames" } }, @@ -378,6 +406,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects" } }, @@ -428,6 +468,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes" } }, @@ -469,6 +521,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp" } }, @@ -522,6 +586,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs" } }, @@ -577,6 +653,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig" }, "get": { @@ -636,6 +724,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig" }, "patch": { @@ -703,6 +803,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig" } }, @@ -753,6 +865,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings" }, "post": { @@ -812,6 +936,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping" } }, @@ -870,6 +1006,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping" }, "get": { @@ -932,6 +1080,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping" }, "put": { @@ -1002,6 +1162,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping" } }, @@ -1090,6 +1262,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders" }, "post": { @@ -1146,6 +1330,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider" } }, @@ -1204,6 +1400,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider" }, "get": { @@ -1262,6 +1470,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider" }, "patch": { @@ -1328,6 +1548,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider" } }, @@ -1386,6 +1618,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider" } }, @@ -1433,6 +1677,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata" } }, @@ -1489,6 +1745,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects" }, "post": { @@ -1557,6 +1825,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject" } }, @@ -1618,6 +1898,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName" } }, @@ -1668,6 +1960,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject" }, "get": { @@ -1720,6 +2024,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject" }, "patch": { @@ -1779,6 +2095,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject" } }, @@ -1846,6 +2174,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject" } @@ -1907,6 +2247,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } + ], "x-xgen-changelog": { "2025-05-08": "Corrects an issue where the endpoint would include Atlas internal entries." }, @@ -1985,6 +2337,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList" } }, @@ -2044,6 +2408,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList" }, "get": { @@ -2107,6 +2483,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList" } }, @@ -2171,6 +2559,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus" } }, @@ -2227,6 +2627,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations" }, "post": { @@ -2286,6 +2698,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration" } }, @@ -2345,6 +2769,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration" }, "get": { @@ -2408,6 +2844,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration" }, "patch": { @@ -2479,6 +2927,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration" }, "put": { @@ -2553,6 +3013,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration" } }, @@ -2628,6 +3100,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId" } }, @@ -2700,6 +3184,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts" } }, @@ -2764,6 +3260,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert" }, "patch": { @@ -2837,6 +3345,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert" } }, @@ -2911,6 +3431,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId" } }, @@ -2971,6 +3503,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys" }, "post": { @@ -3027,6 +3571,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey" } }, @@ -3088,6 +3644,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey" }, "patch": { @@ -3166,6 +3734,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles" }, "post": { @@ -3232,6 +3812,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey" } }, @@ -3282,6 +3874,18 @@ "tags": [ "Auditing" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration" }, "patch": { @@ -3341,6 +3945,18 @@ "tags": [ "Auditing" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration" } }, @@ -3391,6 +4007,18 @@ "tags": [ "AWS Clusters DNS" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAwsCustomDns --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns" }, "patch": { @@ -3447,6 +4075,18 @@ "tags": [ "AWS Clusters DNS" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAwsCustomDns --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns" } }, @@ -3503,6 +4143,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets" }, "post": { @@ -3639,6 +4291,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket" } }, @@ -3694,6 +4358,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket" }, "get": { @@ -3796,6 +4472,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket" } }, @@ -3843,6 +4531,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings" }, "get": { @@ -3891,6 +4591,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings" }, "put": { @@ -3960,6 +4672,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings" } }, @@ -4012,6 +4736,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles" }, "post": { @@ -4072,6 +4808,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole" } }, @@ -4143,6 +4891,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole" } }, @@ -4203,6 +4963,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole" }, "patch": { @@ -4279,6 +5051,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole" } }, @@ -4348,6 +5132,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters" }, "post": { @@ -4535,6 +5331,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster" } }, @@ -4610,6 +5418,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions" } }, @@ -4681,6 +5501,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster" } }, @@ -4753,6 +5585,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } + ], "x-sunset": "2025-02-05", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless" } @@ -4826,6 +5670,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster" }, "get": { @@ -4891,6 +5747,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster" }, "patch": { @@ -4964,6 +5832,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster" } }, @@ -5028,6 +5908,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api autoScalingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration" } }, @@ -5094,6 +5986,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs" }, "post": { @@ -5163,6 +6067,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob" } }, @@ -5228,6 +6144,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob" } }, @@ -5294,6 +6222,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs" }, "post": { @@ -5366,6 +6306,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob" } }, @@ -5436,6 +6388,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob" }, "get": { @@ -5501,6 +6465,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob" } }, @@ -5558,6 +6534,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules" }, "get": { @@ -5613,6 +6601,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule" }, "patch": { @@ -5682,6 +6682,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule" } }, @@ -5751,6 +6763,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups" }, "post": { @@ -5820,6 +6844,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot" } }, @@ -5884,6 +6920,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup" }, "get": { @@ -5955,6 +7003,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup" } }, @@ -6015,6 +7075,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups" } }, @@ -6082,6 +7154,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup" }, "get": { @@ -6153,6 +7237,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup" }, "patch": { @@ -6232,6 +7328,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention" } }, @@ -6310,6 +7418,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup" } }, @@ -6388,6 +7508,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob" } }, @@ -6452,6 +7584,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs" } }, @@ -6526,6 +7670,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob" } }, @@ -6590,6 +7746,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups" } }, @@ -6664,6 +7832,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup" } }, @@ -6731,6 +7911,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints" } }, @@ -6805,6 +7997,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint" } }, @@ -6862,6 +8066,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces" }, "patch": { @@ -6939,6 +8155,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch" }, "put": { @@ -7016,6 +8244,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut" } }, @@ -7084,6 +8324,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces" } }, @@ -7163,6 +8415,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated" } @@ -7250,6 +8514,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated" } @@ -7326,6 +8602,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated" }, @@ -7400,6 +8688,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated" }, @@ -7491,6 +8791,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated" } @@ -7556,6 +8868,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace" } }, @@ -7617,6 +8941,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings" }, "post": { @@ -7691,6 +9027,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping" } }, @@ -7771,6 +9119,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace" }, "post": { @@ -7848,6 +9208,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace" } }, @@ -8011,6 +9383,18 @@ "tags": [ "Rolling Index" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex" } }, @@ -8081,6 +9465,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives" }, "post": { @@ -8157,6 +9553,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } + ], "x-xgen-changelog": { "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" }, @@ -8260,6 +9668,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs" } }, @@ -8328,6 +9748,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive" }, "get": { @@ -8403,6 +9835,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive" }, "patch": { @@ -8489,6 +9933,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive" } }, @@ -8553,6 +10009,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation" }, "get": { @@ -8620,6 +10088,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation" }, "post": { @@ -8693,6 +10173,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation" } }, @@ -8747,6 +10239,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDropIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes" } }, @@ -8801,6 +10305,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSchemaAdvice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice" } }, @@ -8906,6 +10422,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusterSuggestedIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes" } }, @@ -8973,6 +10501,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration" }, "patch": { @@ -9047,6 +10587,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration" } }, @@ -9101,6 +10653,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover" } }, @@ -9184,6 +10748,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs" }, "post": { @@ -9258,6 +10834,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob" } }, @@ -9337,6 +10925,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob" } }, @@ -9397,6 +10997,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment" }, "get": { @@ -9456,6 +11068,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-12", "x-xgen-changelog": { "2025-03-12": "Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400." @@ -9532,6 +11156,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment" }, "post": { @@ -9604,6 +11240,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment" } }, @@ -9684,6 +11332,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster" }, "post": { @@ -9760,6 +11420,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex" } }, @@ -9858,6 +11530,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes" } }, @@ -9946,6 +11630,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName" }, "get": { @@ -10035,6 +11731,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName" }, "patch": { @@ -10138,6 +11846,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName" } }, @@ -10212,6 +11932,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex" }, "get": { @@ -10297,6 +12029,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex" }, "patch": { @@ -10386,6 +12130,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex" } }, @@ -10451,6 +12207,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule" }, "patch": { @@ -10525,6 +12293,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule" } }, @@ -10610,6 +12390,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots" } }, @@ -10682,6 +12474,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot" }, "get": { @@ -10755,6 +12559,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot" }, "patch": { @@ -10836,6 +12652,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention" } }, @@ -10896,6 +12724,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus" } }, @@ -10973,6 +12813,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster" } }, @@ -11100,6 +12952,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements" } }, @@ -11172,6 +13036,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api grantMongoDbEmployeeAccess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess" } }, @@ -11243,6 +13119,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinFeatureCompatibilityVersion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion" } }, @@ -11303,6 +13191,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeMongoDbEmployeeAccess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess" } }, @@ -11366,6 +13266,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinFeatureCompatibilityVersion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion" } }, @@ -11467,6 +13379,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs" } }, @@ -11511,6 +13435,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics" } }, @@ -11585,6 +13521,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider" }, "post": { @@ -11647,6 +13595,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer" } }, @@ -11703,6 +13663,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers" } }, @@ -11764,6 +13736,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer" }, "get": { @@ -11823,6 +13807,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer" }, "patch": { @@ -11896,6 +13892,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer" } }, @@ -11949,6 +13957,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles" }, "post": { @@ -12011,6 +14031,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole" } }, @@ -12070,6 +14102,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole" }, "get": { @@ -12124,6 +14168,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole" }, "patch": { @@ -12195,6 +14251,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole" } }, @@ -12266,6 +14334,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases" }, "post": { @@ -12334,6 +14414,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase" } }, @@ -12387,6 +14479,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase" }, "get": { @@ -12445,6 +14549,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase" }, "patch": { @@ -12522,6 +14638,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase" } }, @@ -12589,6 +14717,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits" } }, @@ -12657,6 +14797,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit" }, "get": { @@ -12729,6 +14881,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit" }, "patch": { @@ -12809,6 +14973,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit" } }, @@ -12889,6 +15065,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs" } }, @@ -12945,6 +15133,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers" }, "post": { @@ -13163,6 +15363,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser" } }, @@ -13231,6 +15443,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser" }, "get": { @@ -13300,6 +15524,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser" }, "patch": { @@ -13386,6 +15622,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser" } }, @@ -13454,6 +15702,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates" }, "post": { @@ -13530,6 +15790,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate" } }, @@ -13641,6 +15913,18 @@ "tags": [ "Access Tracking" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName" } }, @@ -13748,6 +16032,18 @@ "tags": [ "Access Tracking" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname" } }, @@ -13799,6 +16095,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest" }, "patch": { @@ -13861,6 +16169,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest" } }, @@ -13930,6 +16250,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider" }, "post": { @@ -13999,6 +16331,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint" } }, @@ -14066,6 +16410,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion" }, "get": { @@ -14137,6 +16493,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint" } }, @@ -14269,6 +16637,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents" } }, @@ -14342,6 +16722,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent" } }, @@ -14401,6 +16793,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexClusters --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters" }, "post": { @@ -14466,6 +16870,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster" } }, @@ -14526,6 +16942,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster" }, "get": { @@ -14590,6 +17018,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster" }, "patch": { @@ -14662,6 +17102,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster" } }, @@ -14736,6 +17188,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFlexBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup" } }, @@ -14805,6 +17269,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs" }, "post": { @@ -14877,6 +17353,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFlexBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob" } }, @@ -14947,6 +17435,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob" } }, @@ -15016,6 +17516,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups" } }, @@ -15084,6 +17596,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup" } }, @@ -15151,6 +17675,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster" } }, @@ -15201,6 +17737,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes" } }, @@ -15300,6 +17848,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics" } }, @@ -15402,6 +17962,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics" } }, @@ -15493,6 +18065,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements" } }, @@ -15552,6 +18136,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations" } }, @@ -15621,6 +18217,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration" }, "get": { @@ -15694,6 +18302,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration" }, "post": { @@ -15787,6 +18407,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration" }, "put": { @@ -15880,6 +18512,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration" } }, @@ -15948,6 +18592,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations" }, @@ -16009,6 +18665,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation" }, @@ -16067,6 +18735,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation" } @@ -16120,6 +18800,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation" }, @@ -16180,6 +18872,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation" }, @@ -16248,6 +18952,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById" } @@ -16299,6 +19015,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIpAddresses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses" } }, @@ -16363,6 +19091,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits" } }, @@ -16438,6 +19178,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit" }, "get": { @@ -16517,6 +19269,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit" }, "patch": { @@ -16604,6 +19368,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit" } }, @@ -16670,6 +19446,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration" } }, @@ -16732,6 +19520,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration" } }, @@ -16790,6 +19590,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus" } }, @@ -16840,6 +19652,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration" } }, @@ -16890,6 +19714,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration" } }, @@ -16934,6 +19770,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow" }, "get": { @@ -16982,6 +19830,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow" }, "patch": { @@ -17035,6 +19895,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow" } }, @@ -17079,6 +19951,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer" } }, @@ -17123,6 +20007,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow" } }, @@ -17173,6 +20069,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs" } }, @@ -17217,6 +20125,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding" } }, @@ -17261,6 +20181,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding" } }, @@ -17367,6 +20299,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLtsVersions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions" } }, @@ -17443,6 +20387,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections" }, "post": { @@ -17509,6 +20465,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection" } }, @@ -17569,6 +20537,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection" }, "get": { @@ -17630,6 +20610,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection" }, "patch": { @@ -17702,6 +20694,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection" } }, @@ -17761,6 +20765,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines" }, @@ -17823,6 +20839,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline" } @@ -17876,6 +20904,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline" }, @@ -17939,6 +20979,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline" }, @@ -18010,6 +21062,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline" } @@ -18082,6 +21146,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules" } @@ -18166,6 +21242,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots" } @@ -18228,6 +21316,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline" } @@ -18290,6 +21390,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline" } @@ -18373,6 +21485,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns" } @@ -18446,6 +21570,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset" }, @@ -18520,6 +21656,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun" } @@ -18593,6 +21741,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion" } @@ -18659,6 +21819,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService" } }, @@ -18706,6 +21878,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting" }, "patch": { @@ -18765,6 +21949,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting" } }, @@ -18833,6 +22029,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints" }, "post": { @@ -18903,6 +22111,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint" } }, @@ -18967,6 +22187,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint" }, "get": { @@ -19035,6 +22267,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint" }, "patch": { @@ -19111,6 +22355,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint" } }, @@ -19190,6 +22446,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices" } }, @@ -19265,6 +22533,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService" }, "get": { @@ -19344,6 +22624,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService" } }, @@ -19439,6 +22731,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint" } }, @@ -19524,6 +22828,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint" }, "get": { @@ -19613,6 +22929,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint" } }, @@ -19668,6 +22996,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject" }, "patch": { @@ -19732,6 +23072,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering" } }, @@ -19791,6 +23143,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints" }, "post": { @@ -19850,6 +23214,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint" } }, @@ -19904,6 +23280,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint" }, "get": { @@ -19962,6 +23350,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint" } }, @@ -20018,6 +23418,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses" } }, @@ -20079,6 +23491,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess" } }, @@ -20135,6 +23559,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost" } }, @@ -20206,6 +23642,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases" } }, @@ -20276,6 +23724,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase" } }, @@ -20385,6 +23845,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements" } }, @@ -20452,6 +23924,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions" } }, @@ -20519,6 +24003,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements" } }, @@ -20640,6 +24136,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements" } }, @@ -20870,6 +24378,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements" } }, @@ -20949,6 +24469,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces" } }, @@ -21079,6 +24611,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries" } }, @@ -21198,6 +24742,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes" } }, @@ -21302,6 +24858,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements" } }, @@ -21349,6 +24917,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration" }, "get": { @@ -21398,6 +24978,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration" }, "patch": { @@ -21455,6 +25047,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration" }, "post": { @@ -21512,6 +25116,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration" } }, @@ -21572,6 +25188,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset" } }, @@ -21629,6 +25257,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus" } }, @@ -21692,6 +25332,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances" }, "post": { @@ -21761,6 +25413,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance" } }, @@ -21834,6 +25498,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs" }, "post": { @@ -21910,6 +25586,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob" } }, @@ -21987,6 +25675,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob" } }, @@ -22060,6 +25760,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups" } }, @@ -22135,6 +25847,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup" } }, @@ -22196,6 +25920,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing" }, "post": { @@ -22258,6 +25994,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing" } }, @@ -22325,6 +26073,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance" }, "get": { @@ -22393,6 +26153,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance" }, "patch": { @@ -22469,6 +26241,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance" } }, @@ -22522,6 +26306,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts" }, "post": { @@ -22582,6 +26378,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount" } }, @@ -22638,6 +26446,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount" }, "get": { @@ -22697,6 +26517,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount" }, "patch": { @@ -22767,6 +26599,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount" } }, @@ -22834,6 +26678,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList" }, "post": { @@ -22921,6 +26777,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList" } }, @@ -22990,6 +26858,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccountAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry" } }, @@ -23062,6 +26942,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret" } }, @@ -23126,6 +27018,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret" } }, @@ -23196,6 +27100,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount" } }, @@ -23246,6 +27162,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings" }, "patch": { @@ -23302,6 +27230,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings" } }, @@ -23355,6 +27295,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23417,6 +27369,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23482,6 +27446,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAccountDetails --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails" } }, @@ -23532,6 +27508,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getActiveVpcPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections" } }, @@ -23585,6 +27573,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateLinkConnections --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23650,6 +27650,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23706,6 +27718,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23760,6 +27784,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23822,6 +27858,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getVpcPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections" } }, @@ -23872,6 +27920,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection" } }, @@ -23933,6 +27993,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acceptVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection" } }, @@ -23983,6 +28055,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api rejectVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection" } }, @@ -24036,6 +28120,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24104,6 +28200,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24175,6 +28283,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24261,6 +28381,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs" } }, @@ -24323,6 +28455,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24397,6 +28541,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24465,6 +28621,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24531,6 +28699,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24614,6 +28794,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24690,6 +28882,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor" } }, @@ -24752,6 +28956,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor" }, "get": { @@ -24821,6 +29037,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor" }, "patch": { @@ -24898,6 +29126,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api modifyStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor" } }, @@ -24960,6 +29200,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor" } }, @@ -25022,6 +29274,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api stopStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor" } }, @@ -25094,6 +29358,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamProcessors --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors" } }, @@ -25155,6 +29431,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams:withSampleConnections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstanceWithSampleConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections" } }, @@ -25214,6 +29502,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams" }, "post": { @@ -25280,6 +29580,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject" } }, @@ -25338,6 +29650,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam" }, "patch": { @@ -25411,6 +29735,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles" } }, @@ -25462,6 +29798,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration" }, "patch": { @@ -25521,6 +29869,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration" } }, @@ -25565,6 +29925,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509" } }, @@ -25612,6 +29984,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration" } }, @@ -25673,6 +30057,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration" } }, @@ -25730,6 +30126,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLdapConfigurationStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus" } }, @@ -25826,6 +30234,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers" }, "post": { @@ -25888,6 +30308,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser" } }, @@ -25952,6 +30384,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser" }, "get": { @@ -26010,6 +30454,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser" } }, @@ -26079,6 +30535,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles" } @@ -26158,6 +30626,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:addRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole" } }, @@ -26236,6 +30716,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole" } }, @@ -26291,9 +30783,70 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api migrateProjectToAnotherOrg --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg" } }, + "/api/atlas/v2/openapi/info": { + "get": { + "description": "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}", + "operationId": "getOpenApiInfo", + "parameters": [ + { + "$ref": "#/components/parameters/pretty" + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2024-08-05+json": { + "schema": { + "$ref": "#/components/schemas/OpenApiInfo" + }, + "x-xgen-version": "2024-08-05" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return general information about the MongoDB Atlas Administration API OpenAPI Specification.", + "tags": [ + "OpenAPI" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/openapi/info?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOpenApiInfo --help" + } + ] + } + }, "/api/atlas/v2/orgs": { "get": { "description": "Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role.", @@ -26358,6 +30911,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations" }, "post": { @@ -26424,6 +30989,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization" } }, @@ -26474,6 +31051,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization" }, "get": { @@ -26528,6 +31117,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization" }, "patch": { @@ -26590,6 +31191,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization" } }, @@ -26650,6 +31263,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys" }, "post": { @@ -26710,6 +31335,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey" } }, @@ -26768,6 +31405,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey" }, "get": { @@ -26830,6 +31479,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey" }, "patch": { @@ -26903,6 +31564,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey" } }, @@ -26973,6 +31646,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries" }, "post": { @@ -27057,6 +31742,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList" } }, @@ -27129,6 +31826,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry" }, "get": { @@ -27199,6 +31908,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList" } }, @@ -27257,6 +31978,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess" } }, @@ -27328,6 +32061,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCostExplorerQueryProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess" } }, @@ -27436,6 +32181,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents" } }, @@ -27509,6 +32266,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent" } }, @@ -27562,6 +32331,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings" } }, @@ -27634,6 +32415,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects" } }, @@ -27709,6 +32502,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations" }, @@ -27774,6 +32579,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation" }, @@ -27839,6 +32656,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation" } @@ -27901,6 +32730,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation" }, @@ -27965,6 +32806,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation" }, @@ -28040,6 +32893,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById" } @@ -28178,6 +33043,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices" } }, @@ -28225,6 +33102,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices" } }, @@ -28294,6 +33183,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice" } }, @@ -28352,6 +33253,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCsv --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv" } }, @@ -28426,6 +33339,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api queryLineItemsFromSingleInvoice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice" } }, @@ -28482,6 +33407,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects" } }, @@ -28526,6 +33463,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken" }, "post": { @@ -28585,6 +33534,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken" } }, @@ -28649,6 +33610,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getResourcesNonCompliant --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant" } }, @@ -28714,6 +33687,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasResourcePolicies --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies" }, "post": { @@ -28786,6 +33771,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy" } }, @@ -28850,6 +33847,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy" }, "get": { @@ -28918,6 +33927,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy" }, "patch": { @@ -29003,6 +34024,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy" } }, @@ -29077,6 +34110,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy" } }, @@ -29130,6 +34175,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts" }, "post": { @@ -29189,6 +34246,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount" } }, @@ -29244,6 +34313,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount" }, "get": { @@ -29303,6 +34384,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount" }, "patch": { @@ -29373,6 +34466,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount" } }, @@ -29440,6 +34545,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList" }, "post": { @@ -29527,6 +34644,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList" } }, @@ -29596,6 +34725,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry" } }, @@ -29664,6 +34805,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects" } }, @@ -29736,6 +34889,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret" } }, @@ -29800,6 +34965,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret" } }, @@ -29850,6 +35027,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings" }, "patch": { @@ -29909,6 +35098,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings" } }, @@ -29972,6 +35173,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams" }, "post": { @@ -30038,6 +35251,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam" } }, @@ -30101,6 +35326,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName" } }, @@ -30162,6 +35399,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam" }, "get": { @@ -30224,6 +35473,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById" }, "patch": { @@ -30300,6 +35561,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam" } }, @@ -30391,6 +35664,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers" }, "post": { @@ -30471,6 +35756,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser" } @@ -30544,6 +35841,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser" } @@ -30620,6 +35929,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam" } }, @@ -30695,6 +36016,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeUserFromTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam" } }, @@ -30776,6 +36109,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers" }, "post": { @@ -30838,6 +36183,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser" } }, @@ -30902,6 +36259,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser" }, "get": { @@ -30960,6 +36329,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser" }, "patch": { @@ -31033,6 +36414,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser" } }, @@ -31102,6 +36495,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles" } @@ -31181,6 +36586,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addOrganizationRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole" } }, @@ -31256,6 +36673,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole" } }, @@ -31289,9 +36718,93 @@ "tags": [ "Root" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIpAddresses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses" } }, + "/api/atlas/v2/unauth/openapi/versions": { + "get": { + "description": "API that provides a list of available versionsfor a given environment.", + "operationId": "getApiVersions", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/itemsPerPage" + }, + { + "$ref": "#/components/parameters/pageNum" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com).", + "in": "query", + "name": "env", + "schema": { + "enum": [ + "dev", + "qa", + "prod", + "stage" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2024-08-05+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedApiVersions" + }, + "x-xgen-version": "2024-08-05" + }, + "application/vnd.atlas.2024-08-05+yaml": { + "schema": { + "$ref": "#/components/schemas/PaginatedApiVersions" + }, + "x-xgen-version": "2024-08-05" + } + }, + "description": "OK" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Provides a list of versions for a given environment.", + "tags": [ + "OpenAPI" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/unauth/openapi/versions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiVersions --help" + } + ] + } + }, "/api/atlas/v2/users": { "post": { "deprecated": true, @@ -31345,6 +36858,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser" } @@ -31405,6 +36930,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername" } @@ -31468,6 +37005,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser" } } @@ -35025,6 +40574,15 @@ "title": "API User Events", "type": "object" }, + "ApiVersion": { + "properties": { + "version": { + "description": "Object representing a version of the Atlas Admin API.", + "type": "string" + } + }, + "type": "object" + }, "AppServiceAlertConfigViewForNdsGroup": { "description": "App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified.", "properties": { @@ -56816,6 +62374,35 @@ "type": "object", "writeOnly": true }, + "Info": { + "description": "Information about the MongoDB Atlas Administration API OpenAPI Specification.", + "properties": { + "description": { + "description": "Description of the MongoDB Atlas Administration API.", + "example": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/License" + }, + "termsOfService": { + "description": "Terms of Service URL.", + "example": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "type": "string" + }, + "title": { + "description": "Title of the MongoDB Atlas Administration API.", + "example": "MongoDB Atlas Administration API.", + "type": "string" + }, + "version": { + "description": "Version of the MongoDB Atlas Administration API.", + "example": "2.0", + "type": "string" + } + }, + "type": "object" + }, "IngestionPipelineRun": { "description": "Run details of a Data Lake Pipeline.", "properties": { @@ -58553,6 +64140,22 @@ ], "type": "object" }, + "License": { + "description": "License information of the MongoDB Atlas Administration API.", + "properties": { + "name": { + "description": "Name of the license.", + "example": "CC BY-NC-SA 3.0 US", + "type": "string" + }, + "url": { + "description": "URL of the license.", + "example": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/", + "type": "string" + } + }, + "type": "object" + }, "Link": { "properties": { "href": { @@ -61180,6 +66783,14 @@ "title": "Online Archive Schedule", "type": "object" }, + "OpenApiInfo": { + "properties": { + "info": { + "$ref": "#/components/schemas/Info" + } + }, + "type": "object" + }, "Operator": { "description": "Comparison operator to apply when checking the current metric value.", "enum": [ @@ -63065,6 +68676,38 @@ }, "type": "object" }, + "PaginatedApiVersions": { + "properties": { + "links": { + "description": "List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.", + "externalDocs": { + "description": "Web Linking Specification (RFC 5988)", + "url": "https://datatracker.ietf.org/doc/html/rfc5988" + }, + "items": { + "$ref": "#/components/schemas/Link" + }, + "readOnly": true, + "type": "array" + }, + "results": { + "description": "List of returned documents that MongoDB Cloud provides when completing this request.", + "items": { + "$ref": "#/components/schemas/ApiVersion" + }, + "readOnly": true, + "type": "array" + }, + "totalCount": { + "description": "Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact.", + "format": "int32", + "minimum": 0, + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, "PaginatedAtlasGroupView": { "properties": { "links": { diff --git a/openapi/v2/openapi-2025-02-19.yaml b/openapi/v2/openapi-2025-02-19.yaml index 8c88361b42..10311d7dee 100644 --- a/openapi/v2/openapi-2025-02-19.yaml +++ b/openapi/v2/openapi-2025-02-19.yaml @@ -2847,6 +2847,12 @@ components: - id title: API User Events type: object + ApiVersion: + properties: + version: + description: Object representing a version of the Atlas Admin API. + type: string + type: object AppServiceAlertConfigViewForNdsGroup: description: App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified. properties: @@ -20481,6 +20487,28 @@ components: type: object type: object writeOnly: true + Info: + description: Information about the MongoDB Atlas Administration API OpenAPI Specification. + properties: + description: + description: Description of the MongoDB Atlas Administration API. + example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. + type: string + license: + $ref: '#/components/schemas/License' + termsOfService: + description: Terms of Service URL. + example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions + type: string + title: + description: Title of the MongoDB Atlas Administration API. + example: MongoDB Atlas Administration API. + type: string + version: + description: Version of the MongoDB Atlas Administration API. + example: "2.0" + type: string + type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -21999,6 +22027,18 @@ components: - eventTypeName - notifications type: object + License: + description: License information of the MongoDB Atlas Administration API. + properties: + name: + description: Name of the license. + example: CC BY-NC-SA 3.0 US + type: string + url: + description: URL of the license. + example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ + type: string + type: object Link: properties: href: @@ -24146,6 +24186,11 @@ components: - type title: Online Archive Schedule type: object + OpenApiInfo: + properties: + info: + $ref: '#/components/schemas/Info' + type: object Operator: description: Comparison operator to apply when checking the current metric value. enum: @@ -25647,6 +25692,30 @@ components: readOnly: true type: integer type: object + PaginatedApiVersions: + properties: + links: + description: List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. + externalDocs: + description: Web Linking Specification (RFC 5988) + url: https://datatracker.ietf.org/doc/html/rfc5988 + items: + $ref: '#/components/schemas/Link' + readOnly: true + type: array + results: + description: List of returned documents that MongoDB Cloud provides when completing this request. + items: + $ref: '#/components/schemas/ApiVersion' + readOnly: true + type: array + totalCount: + description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + format: int32 + minimum: 0 + readOnly: true + type: integer + type: object PaginatedAtlasGroupView: properties: links: @@ -34408,6 +34477,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus /api/atlas/v2/alertConfigs/matchers/fieldNames: get: @@ -34437,6 +34517,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames /api/atlas/v2/clusters: get: @@ -34465,6 +34556,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects /api/atlas/v2/eventTypes: get: @@ -34493,6 +34595,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes /api/atlas/v2/federationSettings/{federationSettingsId}: delete: @@ -34519,6 +34632,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: @@ -34550,6 +34674,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: @@ -34585,6 +34720,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in the connected org. @@ -34623,6 +34769,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." @@ -34666,6 +34823,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: @@ -34696,6 +34865,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34732,6 +34912,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: @@ -34768,6 +34960,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34807,6 +35010,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34851,6 +35065,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: @@ -34906,6 +35132,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders post: description: |- @@ -34944,6 +35181,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: @@ -34981,6 +35230,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' @@ -35018,6 +35278,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider patch: description: |- @@ -35063,6 +35334,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: @@ -35100,6 +35383,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -35129,6 +35423,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata /api/atlas/v2/groups: get: @@ -35161,6 +35466,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -35204,6 +35520,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject /api/atlas/v2/groups/{groupId}: delete: @@ -35234,6 +35562,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -35266,6 +35605,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -35302,6 +35652,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject /api/atlas/v2/groups/{groupId}/access: post: @@ -35343,6 +35705,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject /api/atlas/v2/groups/{groupId}/accessList: @@ -35378,6 +35752,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help x-xgen-changelog: "2025-05-08": Corrects an issue where the endpoint would include Atlas internal entries. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists @@ -35424,6 +35809,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: @@ -35466,6 +35863,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. @@ -35506,6 +35914,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: @@ -35546,6 +35965,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus /api/atlas/v2/groups/{groupId}/alertConfigs: get: @@ -35580,6 +36010,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations post: description: |- @@ -35619,6 +36060,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: @@ -35659,6 +36112,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration get: description: |- @@ -35702,6 +36166,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration patch: description: |- @@ -35752,6 +36227,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration put: description: |- @@ -35804,6 +36291,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: @@ -35852,6 +36351,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId /api/atlas/v2/groups/{groupId}/alerts: get: @@ -35897,6 +36407,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: @@ -35940,6 +36461,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert patch: description: |- @@ -35989,6 +36521,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -36036,6 +36580,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId /api/atlas/v2/groups/{groupId}/apiKeys: get: @@ -36070,6 +36625,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36104,6 +36670,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: @@ -36142,6 +36720,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. @@ -36188,6 +36777,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36229,6 +36830,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey /api/atlas/v2/groups/{groupId}/auditLog: get: @@ -36259,6 +36872,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration patch: description: 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 Service Account or API Key must have the Project Owner role. This feature isn't available for `M0`, `M2`, `M5`, or serverless clusters. @@ -36295,6 +36919,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: @@ -36325,6 +36961,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns patch: description: 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 Service Account or API Key must have the Project Atlas Admin role. @@ -36359,6 +37006,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: @@ -36390,6 +37049,17 @@ paths: summary: Return All Snapshot Export Buckets tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets post: description: 'Creates a Snapshot Export Bucket for an AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. Once created, an snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36480,6 +37150,18 @@ paths: summary: Create One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -36515,6 +37197,17 @@ paths: summary: Delete One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket get: description: 'Returns one Export Bucket associated with the specified Project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -36582,6 +37275,17 @@ paths: summary: Return One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: delete: @@ -36610,6 +37314,17 @@ paths: summary: Disable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + - label: Atlas CLI + lang: cURL + source: atlas api disableDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings get: description: 'Returns the Backup Compliance Policy settings with the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36639,6 +37354,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings put: description: 'Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36682,6 +37408,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: @@ -36714,6 +37452,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: description: 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 Service Account or API Key must have the Project Owner role. @@ -36751,6 +37500,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: @@ -36796,6 +37557,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: @@ -36833,6 +37605,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. This is not required for GCP service account access. @@ -36881,6 +37664,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/clusters: get: @@ -36924,6 +37719,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters post: description: |- @@ -37052,6 +37858,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -37100,6 +37918,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster get: description: |- @@ -37144,6 +37973,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster patch: description: '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 Service Account or API Key must have the Project Owner role. For all other updates, the requesting Service Account or 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}' @@ -37190,6 +38030,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -37277,6 +38129,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: @@ -37324,6 +38187,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration: get: @@ -37364,6 +38238,17 @@ paths: summary: Get cluster internal configuration of sharded cluster AutoScaling operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api autoScalingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -37402,6 +38287,17 @@ paths: summary: Return All Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs post: description: Exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket. To use this resource, the requesting Service Account or API Key must have the Project Atlas Admin role. @@ -37446,6 +38342,18 @@ paths: summary: Create One Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: @@ -37488,6 +38396,17 @@ paths: summary: Return One Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: @@ -37526,6 +38445,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs post: description: |- @@ -37574,6 +38504,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: @@ -37618,6 +38560,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob get: description: Returns one cloud backup restore job for one cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -37659,6 +38612,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: @@ -37695,6 +38659,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules get: description: '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 Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -37729,6 +38704,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule patch: description: '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 Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37775,6 +38761,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -37815,6 +38813,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups post: description: |- @@ -37861,6 +38870,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: @@ -37903,6 +38924,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -37948,6 +38980,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -37998,6 +39041,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: @@ -38038,6 +39093,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup get: description: Returns one snapshot of one sharded cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -38083,6 +39149,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: @@ -38120,6 +39197,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: @@ -38172,6 +39260,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: @@ -38224,6 +39324,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: @@ -38267,6 +39379,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: @@ -38317,6 +39440,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: @@ -38360,6 +39494,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: @@ -38410,6 +39555,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: @@ -38449,6 +39605,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: @@ -38496,6 +39663,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: @@ -38532,6 +39710,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster. @@ -38581,6 +39770,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch put: description: 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. @@ -38630,6 +39831,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: @@ -38673,6 +39886,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: @@ -38723,6 +39948,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: @@ -38779,6 +40016,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: @@ -38828,6 +40076,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated get: @@ -38876,6 +40135,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated patch: @@ -38935,6 +40205,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: @@ -38976,6 +40258,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -39014,6 +40307,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -39061,6 +40365,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -39111,6 +40427,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -39160,6 +40487,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -39270,6 +40609,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: @@ -39311,6 +40662,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -39359,6 +40721,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help x-xgen-changelog: "2023-08-02": If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/createOnlineArchive @@ -39404,6 +40778,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -39452,6 +40837,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -39507,6 +40903,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: @@ -39574,6 +40982,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: @@ -39614,6 +41033,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation get: description: Returns one outage simulation for one cluster. @@ -39657,6 +41087,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation post: description: Starts a cluster outage simulation. @@ -39703,6 +41144,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions: get: @@ -39738,6 +41191,17 @@ paths: summary: Returns Suggested Indexes to Drop tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDropIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice: get: @@ -39773,6 +41237,17 @@ paths: summary: Return Schema Advice tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSchemaAdvice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes: get: @@ -39851,6 +41326,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusterSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: @@ -39893,6 +41379,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration patch: description: '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 Service Account or 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}' @@ -39940,6 +41437,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -39973,6 +41482,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: @@ -40026,6 +41547,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs post: deprecated: true @@ -40073,6 +41605,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: @@ -40127,6 +41671,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: @@ -40164,6 +41719,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment get: deprecated: true @@ -40201,6 +41767,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help x-sunset: "2026-03-12" x-xgen-changelog: "2025-03-12": Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400. @@ -40249,6 +41826,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment post: description: Creates Search Nodes for the specified cluster. @@ -40294,6 +41883,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: @@ -40344,6 +41945,17 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster post: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40392,6 +42004,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: @@ -40454,6 +42078,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: @@ -40510,6 +42145,17 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -40567,6 +42213,17 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40633,6 +42290,18 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: @@ -40680,6 +42349,17 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -40734,6 +42414,17 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40791,6 +42482,18 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -40835,6 +42538,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule patch: deprecated: true @@ -40885,6 +42599,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: @@ -40937,6 +42663,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: @@ -40983,6 +42720,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot get: deprecated: true @@ -41030,6 +42778,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot patch: deprecated: true @@ -41082,6 +42841,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: @@ -41119,6 +42890,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess: post: @@ -41164,6 +42946,18 @@ paths: summary: Grant MongoDB employee cluster access for one cluster. tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api grantMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: @@ -41208,6 +43002,18 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess: post: @@ -41245,6 +43051,18 @@ paths: summary: Revoke granted MongoDB employee cluster access for one cluster. tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api revokeMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: @@ -41284,6 +43102,18 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: @@ -41352,6 +43182,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: @@ -41395,6 +43236,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: @@ -41439,6 +43291,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: @@ -41487,6 +43351,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help x-sunset: "2025-02-05" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless /api/atlas/v2/groups/{groupId}/collStats/metrics: @@ -41515,6 +43391,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics /api/atlas/v2/groups/{groupId}/containers: get: @@ -41559,6 +43446,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -41597,6 +43495,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: @@ -41635,6 +43545,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -41672,6 +43593,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -41718,6 +43650,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer /api/atlas/v2/groups/{groupId}/containers/all: get: @@ -41749,6 +43693,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: @@ -41781,6 +43736,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles post: description: Creates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -41819,6 +43785,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: @@ -41855,6 +43833,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole get: description: Returns one custom role for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -41888,6 +43877,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole patch: description: Updates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -41932,6 +43932,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole /api/atlas/v2/groups/{groupId}/dataFederation: get: @@ -41977,6 +43989,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases post: description: Creates one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles. @@ -42019,6 +44042,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: @@ -42051,6 +44086,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase get: description: Returns the details of one federated database instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -42088,6 +44134,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase patch: description: Updates the details of one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or higher role. @@ -42136,6 +44193,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: @@ -42178,6 +44247,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: @@ -42230,6 +44310,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit get: description: Returns the details of one query limit for the specified federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -42284,6 +44375,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit patch: description: Creates or updates one query limit for one federated database instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -42344,6 +44446,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: @@ -42398,6 +44512,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs /api/atlas/v2/groups/{groupId}/databaseUsers: get: @@ -42429,6 +44554,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers post: description: 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 Service Account or 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. @@ -42561,6 +44697,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: @@ -42617,6 +44765,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser get: description: Returns one database user that belong to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -42674,6 +44833,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Charts Admin role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -42742,6 +44912,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: @@ -42781,6 +44963,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates post: description: |- @@ -42834,6 +45027,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: @@ -42906,6 +45111,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: @@ -42975,6 +45191,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: @@ -43009,6 +45236,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest patch: description: |- @@ -43059,6 +45297,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: @@ -43099,6 +45349,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. @@ -43142,6 +45403,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: @@ -43184,6 +45457,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -43229,6 +45513,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/events: get: @@ -43320,6 +45615,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents /api/atlas/v2/groups/{groupId}/events/{eventId}: get: @@ -43369,6 +45675,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent /api/atlas/v2/groups/{groupId}/flexClusters: get: @@ -43402,6 +45719,17 @@ paths: summary: Return All Flex Clusters from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters post: description: Creates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43442,6 +45770,18 @@ paths: summary: Create One Flex Cluster in One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}: delete: @@ -43479,6 +45819,17 @@ paths: summary: Remove One Flex Cluster from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster get: description: Returns details for one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43519,6 +45870,17 @@ paths: summary: Return One Flex Cluster from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster patch: description: Updates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43564,6 +45926,18 @@ paths: summary: Update One Flex Cluster in One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download: post: @@ -43610,6 +45984,18 @@ paths: summary: Download One Flex Cluster Snapshot tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs: get: @@ -43650,6 +46036,17 @@ paths: summary: Return All Restore Jobs for One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs post: description: Restores one snapshot of one flex cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43695,6 +46092,18 @@ paths: summary: Restore One Snapshot of One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}: get: @@ -43739,6 +46148,17 @@ paths: summary: Return One Restore Job for One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots: get: @@ -43779,6 +46199,17 @@ paths: summary: Return All Snapshots of One Flex Cluster tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}: get: @@ -43823,6 +46254,17 @@ paths: summary: Return One Snapshot of One Flex Cluster tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade: post: @@ -43864,6 +46306,18 @@ paths: summary: Upgrade One Flex Cluster tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: @@ -43894,6 +46348,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: @@ -43956,6 +46421,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: @@ -44017,6 +46493,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: @@ -44075,6 +46562,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements /api/atlas/v2/groups/{groupId}/integrations: get: @@ -44108,6 +46606,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: @@ -44154,6 +46663,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44203,6 +46723,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44262,6 +46793,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44321,6 +46864,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration /api/atlas/v2/groups/{groupId}/invites: get: @@ -44364,6 +46919,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations patch: @@ -44402,6 +46968,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation post: @@ -44438,6 +47016,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation /api/atlas/v2/groups/{groupId}/invites/{invitationId}: @@ -44472,6 +47062,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation get: @@ -44510,6 +47111,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation patch: @@ -44554,6 +47166,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById /api/atlas/v2/groups/{groupId}/ipAddresses: @@ -44585,6 +47209,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses /api/atlas/v2/groups/{groupId}/limits: get: @@ -44625,6 +47260,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: @@ -44693,6 +47339,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit get: description: Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44764,6 +47421,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit patch: description: |- @@ -44843,6 +47511,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit /api/atlas/v2/groups/{groupId}/liveMigrations: post: @@ -44891,6 +47571,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -44920,6 +47612,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: @@ -44949,6 +47652,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: @@ -44987,6 +47702,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -45024,6 +47751,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: @@ -45051,6 +47789,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45080,6 +47829,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. Updating the maintenance window will reset any maintenance deferrals for this project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45113,6 +47873,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: @@ -45140,6 +47912,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: @@ -45167,6 +47951,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow /api/atlas/v2/groups/{groupId}/managedSlowMs: get: @@ -45197,6 +47993,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: @@ -45223,6 +48030,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: @@ -45249,6 +48067,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: @@ -45317,6 +48147,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLtsVersions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions /api/atlas/v2/groups/{groupId}/peers: get: @@ -45362,6 +48203,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. @@ -45403,6 +48255,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: @@ -45440,6 +48304,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -45478,6 +48353,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45523,6 +48409,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection /api/atlas/v2/groups/{groupId}/pipelines: get: @@ -45561,6 +48459,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines post: @@ -45601,6 +48510,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: @@ -45635,6 +48556,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline get: @@ -45675,6 +48607,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline patch: @@ -45721,6 +48664,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: @@ -45767,6 +48722,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: @@ -45818,6 +48784,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: @@ -45857,6 +48834,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: @@ -45896,6 +48885,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: @@ -45946,6 +48947,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: @@ -45993,6 +49005,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset get: @@ -46041,6 +49064,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: @@ -46087,6 +49121,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: @@ -46139,6 +49185,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: @@ -46187,6 +49244,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -46238,6 +49306,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: @@ -46299,6 +49378,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: @@ -46354,6 +49445,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -46412,6 +49514,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: @@ -46452,6 +49565,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: @@ -46480,6 +49605,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting Service Account or API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. @@ -46516,6 +49652,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: @@ -46563,6 +49711,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints post: description: |- @@ -46613,6 +49772,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: @@ -46657,6 +49828,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint get: description: |- @@ -46704,6 +49886,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint patch: description: |- @@ -46756,6 +49949,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateIpMode: get: @@ -46790,6 +49995,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject patch: deprecated: true @@ -46830,6 +50046,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: @@ -46863,6 +50091,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints post: description: |- @@ -46918,6 +50157,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: @@ -46951,6 +50202,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint get: description: Returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -46987,6 +50249,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/processes: get: @@ -47018,6 +50291,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses /api/atlas/v2/groups/{groupId}/processes/{processId}: get: @@ -47056,6 +50340,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -47125,6 +50420,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: @@ -47156,6 +50462,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: @@ -47198,6 +50515,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: @@ -47242,6 +50570,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: @@ -47312,6 +50651,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: @@ -47351,6 +50701,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: @@ -47394,6 +50755,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: @@ -47483,6 +50855,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: @@ -47685,6 +51068,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: @@ -47743,6 +51137,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: @@ -47836,6 +51241,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: @@ -47918,6 +51334,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: @@ -47946,6 +51373,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration get: description: Fetches the current project level settings for the push-based log export feature. @@ -47976,6 +51414,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration patch: description: Updates the project level settings for the push-based log export feature. @@ -48011,6 +51460,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration post: description: Configures the project level settings for the push-based log export feature. @@ -48046,6 +51507,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: @@ -48084,6 +51557,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: @@ -48120,6 +51605,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus /api/atlas/v2/groups/{groupId}/serverless: get: @@ -48159,6 +51655,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances post: description: |- @@ -48205,6 +51712,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: @@ -48251,6 +51770,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs post: description: |- @@ -48302,6 +51832,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: @@ -48354,6 +51896,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: @@ -48400,6 +51953,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: @@ -48452,6 +52016,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: @@ -48490,6 +52065,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing post: description: Set whether the Serverless Auto Indexing feature is enabled. This endpoint sets a value for Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. However, the value returned is not indicative of the Auto Indexing state as Auto Indexing is unavailable for Flex clusters. This endpoint will be sunset in January 2026. @@ -48530,6 +52116,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: @@ -48575,6 +52173,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance get: description: |- @@ -48621,6 +52230,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance patch: description: |- @@ -48672,6 +52292,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance /api/atlas/v2/groups/{groupId}/serviceAccounts: get: @@ -48702,6 +52334,17 @@ paths: summary: List All Project Service Accounts tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts post: description: Creates one Service Account for the specified Project. The Service Account will automatically be added as an Organization Member to the Organization that the specified Project is a part of. @@ -48739,6 +52382,18 @@ paths: summary: Create and Assign one Service Account to one Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}: delete: @@ -48774,6 +52429,17 @@ paths: summary: Unassign One Service Account from One Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount get: description: Returns one Service Account in the specified Project. @@ -48811,6 +52477,17 @@ paths: summary: Get one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount patch: description: Updates one Service Account in the specified Project. @@ -48855,6 +52532,18 @@ paths: summary: Update one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList: get: @@ -48894,6 +52583,17 @@ paths: summary: Return All Access List entries for one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the project. Resources require all API requests to originate from IP addresses on the API access list. @@ -48947,6 +52647,18 @@ paths: summary: Add Access List entries for one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -48991,6 +52703,17 @@ paths: summary: Remove One Access List entry from one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets: post: @@ -49036,6 +52759,18 @@ paths: summary: Create one Project Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -49076,6 +52811,17 @@ paths: summary: Delete one Project Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite: post: @@ -49120,6 +52866,18 @@ paths: summary: Assign One Service Account to One Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount /api/atlas/v2/groups/{groupId}/settings: get: @@ -49150,6 +52908,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -49184,6 +52953,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings /api/atlas/v2/groups/{groupId}/streams: get: @@ -49214,6 +52995,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamInstances @@ -49252,6 +53044,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstance @@ -49286,6 +53090,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamInstance @@ -49329,6 +53144,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamInstance @@ -49373,6 +53199,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamInstance @@ -49430,6 +53268,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: @@ -49466,6 +53315,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamConnections @@ -49512,6 +53372,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamConnection @@ -49554,6 +53426,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamConnection @@ -49596,6 +53479,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamConnection @@ -49648,6 +53542,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamConnection @@ -49695,6 +53601,18 @@ paths: summary: Create One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: @@ -49733,6 +53651,17 @@ paths: summary: Delete One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -49776,6 +53705,17 @@ paths: summary: Get One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor patch: description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -49824,6 +53764,18 @@ paths: summary: Modify One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api modifyStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: @@ -49862,6 +53814,18 @@ paths: summary: Start One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: @@ -49900,6 +53864,18 @@ paths: summary: Stop One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api stopStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: @@ -49942,6 +53918,17 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamProcessors --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors /api/atlas/v2/groups/{groupId}/streams/accountDetails: get: @@ -49981,6 +53968,17 @@ paths: summary: Returns the Account ID, and the VPC ID for the group and region specified. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAccountDetails --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails /api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections: get: @@ -50009,6 +54007,17 @@ paths: summary: Returns all the active incoming VPC Peering Connections. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getActiveVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/privateLinkConnections: get: @@ -50039,6 +54048,17 @@ paths: summary: Return All Private Link tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateLinkConnections --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listPrivateLinkConnections @@ -50079,6 +54099,18 @@ paths: summary: Create One Private Link connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createPrivateLinkConnection @@ -50113,6 +54145,17 @@ paths: summary: Delete One Private Link connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deletePrivateLinkConnection @@ -50147,6 +54190,17 @@ paths: summary: Return One PrivateLink Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getPrivateLinkConnection @@ -50183,6 +54237,17 @@ paths: summary: Return All VPC Peering Connections. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}: delete: @@ -50214,6 +54279,17 @@ paths: summary: Deletes an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept: post: @@ -50252,6 +54328,18 @@ paths: summary: Requests the acceptance of an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acceptVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject: post: @@ -50283,6 +54371,18 @@ paths: summary: Requests the rejection of an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api rejectVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: @@ -50320,6 +54420,18 @@ paths: summary: Create One Stream Instance With Sample Connections tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams:withSampleConnections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstanceWithSampleConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections /api/atlas/v2/groups/{groupId}/teams: get: @@ -50353,6 +54465,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -50394,6 +54517,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: @@ -50431,6 +54566,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -50477,6 +54623,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles /api/atlas/v2/groups/{groupId}/userSecurity: get: @@ -50508,6 +54666,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration patch: description: |- @@ -50547,6 +54716,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: @@ -50577,6 +54758,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509 /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: @@ -50605,6 +54797,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: @@ -50642,6 +54845,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: @@ -50677,6 +54892,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLdapConfigurationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus /api/atlas/v2/groups/{groupId}/users: get: @@ -50740,6 +54966,17 @@ paths: summary: Return All MongoDB Cloud Users in One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers post: description: "Adds one MongoDB Cloud user to one project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. \n- If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access. \n- If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access. \n- If the user is already active in the project's organization, MongoDB Cloud grants access to the project. \n" @@ -50778,6 +55015,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}: delete: @@ -50823,6 +55072,17 @@ paths: summary: Remove One MongoDB Cloud User from One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser get: description: |- @@ -50864,6 +55124,17 @@ paths: summary: Return One MongoDB Cloud User in One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: @@ -50907,6 +55178,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: @@ -50960,6 +55243,18 @@ paths: summary: Add One Project Role to One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:addRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole /api/atlas/v2/groups/{groupId}/users/{userId}:removeRole: post: @@ -51012,6 +55307,18 @@ paths: summary: Remove One Project Role from One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole /api/atlas/v2/groups/{groupId}:migrate: post: @@ -51046,6 +55353,18 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api migrateProjectToAnotherOrg --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg /api/atlas/v2/groups/byName/{groupName}: get: @@ -51085,7 +55404,52 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName + /api/atlas/v2/openapi/info: + get: + description: 'This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}' + operationId: getOpenApiInfo + parameters: + - $ref: '#/components/parameters/pretty' + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/OpenApiInfo' + x-xgen-version: "2024-08-05" + description: OK + "401": + $ref: '#/components/responses/unauthorized' + "403": + $ref: '#/components/responses/forbidden' + "500": + $ref: '#/components/responses/internalServerError' + summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + tags: + - OpenAPI + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/openapi/info?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOpenApiInfo --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51124,6 +55488,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations post: description: Creates one organization in MongoDB Cloud and links it to the requesting Service Account's or API Key's organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. The requesting Service Account's or API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation. @@ -51166,6 +55541,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization /api/atlas/v2/orgs/{orgId}: delete: @@ -51202,6 +55589,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization get: description: Returns one organization to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51235,6 +55633,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization patch: description: Updates one organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -51273,6 +55682,18 @@ paths: summary: Update One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization /api/atlas/v2/orgs/{orgId}/apiKeys: get: @@ -51307,6 +55728,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -51344,6 +55776,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: @@ -51380,6 +55824,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51419,6 +55874,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -51465,6 +55931,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: @@ -51506,6 +55984,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -51556,6 +56045,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: @@ -51602,6 +56103,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51647,6 +56159,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: @@ -51683,6 +56206,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: @@ -51729,6 +56264,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/events: get: @@ -51801,6 +56347,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: @@ -51850,6 +56407,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent /api/atlas/v2/orgs/{orgId}/federationSettings: get: @@ -51882,6 +56450,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings /api/atlas/v2/orgs/{orgId}/groups: get: @@ -51932,6 +56511,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects /api/atlas/v2/orgs/{orgId}/invites: get: @@ -51983,6 +56573,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations patch: @@ -52027,6 +56628,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation post: @@ -52071,6 +56684,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: @@ -52113,6 +56738,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation get: @@ -52158,6 +56794,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation patch: @@ -52209,6 +56856,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById /api/atlas/v2/orgs/{orgId}/invoices: @@ -52301,6 +56960,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: @@ -52346,6 +57016,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: @@ -52390,6 +57071,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCsv --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search: get: @@ -52435,6 +57127,17 @@ paths: summary: Query lineItems of the specified invoiceId tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api queryLineItemsFromSingleInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice /api/atlas/v2/orgs/{orgId}/invoices/pending: get: @@ -52463,6 +57166,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: @@ -52497,6 +57211,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: @@ -52524,6 +57249,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken post: description: 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. @@ -52560,6 +57296,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken /api/atlas/v2/orgs/{orgId}/nonCompliantResources: get: @@ -52600,6 +57348,17 @@ paths: summary: Return all non-compliant resources tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getResourcesNonCompliant --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant /api/atlas/v2/orgs/{orgId}/resourcePolicies: get: @@ -52641,6 +57400,17 @@ paths: summary: Return all Atlas Resource Policies tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasResourcePolicies --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies post: description: Create one Atlas Resource Policy for an org. @@ -52686,6 +57456,18 @@ paths: summary: Create one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}: delete: @@ -52727,6 +57509,17 @@ paths: summary: Delete one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy get: description: Return one Atlas Resource Policy for an org. @@ -52771,6 +57564,17 @@ paths: summary: Return one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy patch: description: Update one Atlas Resource Policy for an org. @@ -52826,6 +57630,18 @@ paths: summary: Update one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies:validate: post: @@ -52872,6 +57688,18 @@ paths: summary: Validate one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: @@ -52902,6 +57730,17 @@ paths: summary: List All Organization Service Accounts tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts post: description: Creates one Service Account for the specified Organization. @@ -52938,6 +57777,18 @@ paths: summary: Create one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}: delete: @@ -52972,6 +57823,17 @@ paths: summary: Delete one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount get: description: Returns the specified Service Account. @@ -53009,6 +57871,17 @@ paths: summary: Get one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount patch: description: Updates the specified Service Account in the specified Organization. @@ -53053,6 +57926,18 @@ paths: summary: Update one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList: get: @@ -53092,6 +57977,17 @@ paths: summary: Return All Access List entries for one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the organization. Resources require all API requests to originate from IP addresses on the API access list. @@ -53145,6 +58041,18 @@ paths: summary: Add Access List entries for one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -53189,6 +58097,17 @@ paths: summary: Remove One Access List entry from one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups: get: @@ -53230,6 +58149,17 @@ paths: summary: Return All Service Account Project assignments tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets: post: @@ -53275,6 +58205,18 @@ paths: summary: Create one Organization Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -53315,6 +58257,17 @@ paths: summary: Delete a Organization Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret /api/atlas/v2/orgs/{orgId}/settings: get: @@ -53345,6 +58298,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings patch: description: Updates the organization's settings. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53381,6 +58345,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings /api/atlas/v2/orgs/{orgId}/teams: get: @@ -53417,6 +58393,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53458,6 +58445,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: @@ -53496,6 +58495,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -53535,6 +58545,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53583,6 +58604,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: @@ -53644,6 +58677,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers post: deprecated: true @@ -53698,6 +58742,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: @@ -53748,6 +58804,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser: @@ -53799,6 +58866,18 @@ paths: summary: Add One MongoDB Cloud User to One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser: post: @@ -53849,6 +58928,18 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeUserFromTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: @@ -53888,6 +58979,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName /api/atlas/v2/orgs/{orgId}/users: get: @@ -53941,6 +59043,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers post: description: |- @@ -53982,6 +59095,18 @@ paths: summary: Add One MongoDB Cloud User to One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: @@ -54027,6 +59152,17 @@ paths: summary: Remove One MongoDB Cloud User From One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser get: description: |- @@ -54068,6 +59204,17 @@ paths: summary: Return One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser patch: description: |- @@ -54119,6 +59266,18 @@ paths: summary: Update One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: @@ -54162,6 +59321,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: @@ -54217,6 +59388,18 @@ paths: summary: Add One Organization Role to One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole /api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole: post: @@ -54269,6 +59452,18 @@ paths: summary: Remove One Organization Role from One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole /api/atlas/v2/unauth/controlPlaneIPAddresses: get: @@ -54290,7 +59485,65 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: getApiVersions + parameters: + - $ref: '#/components/parameters/envelope' + - $ref: '#/components/parameters/itemsPerPage' + - $ref: '#/components/parameters/pageNum' + - $ref: '#/components/parameters/pretty' + - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). + in: query + name: env + schema: + enum: + - dev + - qa + - prod + - stage + type: string + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + application/vnd.atlas.2024-08-05+yaml: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + description: OK + "500": + $ref: '#/components/responses/internalServerError' + summary: Provides a list of versions for a given environment. + tags: + - OpenAPI + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/unauth/openapi/versions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiVersions --help /api/atlas/v2/users: post: deprecated: true @@ -54330,6 +59583,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: @@ -54371,6 +59636,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -54409,6 +59685,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-02-19+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername security: @@ -54486,6 +59773,8 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive + - description: Returns information about the MongoDB Atlas Specification. + name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. diff --git a/openapi/v2/openapi-2025-03-12.json b/openapi/v2/openapi-2025-03-12.json index e817670f88..53b33754b5 100644 --- a/openapi/v2/openapi-2025-03-12.json +++ b/openapi/v2/openapi-2025-03-12.json @@ -142,6 +142,10 @@ "description": "Returns, adds, edits, or removes an online archive.", "name": "Online Archive" }, + { + "description": "Returns information about the MongoDB Atlas Specification.", + "name": "OpenAPI" + }, { "description": "Returns, adds, and edits organizational units in MongoDB Cloud.", "name": "Organizations" @@ -281,6 +285,18 @@ "tags": [ "Root" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus" } }, @@ -328,6 +344,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames" } }, @@ -378,6 +406,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects" } }, @@ -428,6 +468,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes" } }, @@ -469,6 +521,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp" } }, @@ -522,6 +586,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs" } }, @@ -577,6 +653,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig" }, "get": { @@ -636,6 +724,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig" }, "patch": { @@ -703,6 +803,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig" } }, @@ -753,6 +865,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings" }, "post": { @@ -812,6 +936,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping" } }, @@ -870,6 +1006,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping" }, "get": { @@ -932,6 +1080,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping" }, "put": { @@ -1002,6 +1162,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping" } }, @@ -1090,6 +1262,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders" }, "post": { @@ -1146,6 +1330,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider" } }, @@ -1204,6 +1400,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider" }, "get": { @@ -1262,6 +1470,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider" }, "patch": { @@ -1328,6 +1548,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider" } }, @@ -1386,6 +1618,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider" } }, @@ -1433,6 +1677,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata" } }, @@ -1489,6 +1745,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects" }, "post": { @@ -1557,6 +1825,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject" } }, @@ -1618,6 +1898,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName" } }, @@ -1668,6 +1960,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject" }, "get": { @@ -1720,6 +2024,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject" }, "patch": { @@ -1779,6 +2095,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject" } }, @@ -1846,6 +2174,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject" } @@ -1907,6 +2247,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } + ], "x-xgen-changelog": { "2025-05-08": "Corrects an issue where the endpoint would include Atlas internal entries." }, @@ -1985,6 +2337,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList" } }, @@ -2044,6 +2408,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList" }, "get": { @@ -2107,6 +2483,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList" } }, @@ -2171,6 +2559,18 @@ "tags": [ "Project IP Access List" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus" } }, @@ -2227,6 +2627,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations" }, "post": { @@ -2286,6 +2698,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration" } }, @@ -2345,6 +2769,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration" }, "get": { @@ -2408,6 +2844,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration" }, "patch": { @@ -2479,6 +2927,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration" }, "put": { @@ -2553,6 +3013,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration" } }, @@ -2628,6 +3100,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId" } }, @@ -2700,6 +3184,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts" } }, @@ -2764,6 +3260,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert" }, "patch": { @@ -2837,6 +3345,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert" } }, @@ -2911,6 +3431,18 @@ "tags": [ "Alert Configurations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId" } }, @@ -2971,6 +3503,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys" }, "post": { @@ -3027,6 +3571,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey" } }, @@ -3088,6 +3644,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey" }, "patch": { @@ -3166,6 +3734,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles" }, "post": { @@ -3232,6 +3812,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey" } }, @@ -3282,6 +3874,18 @@ "tags": [ "Auditing" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration" }, "patch": { @@ -3341,6 +3945,18 @@ "tags": [ "Auditing" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration" } }, @@ -3391,6 +4007,18 @@ "tags": [ "AWS Clusters DNS" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAwsCustomDns --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns" }, "patch": { @@ -3447,6 +4075,18 @@ "tags": [ "AWS Clusters DNS" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAwsCustomDns --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns" } }, @@ -3503,6 +4143,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets" }, "post": { @@ -3639,6 +4291,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket" } }, @@ -3694,6 +4358,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket" }, "get": { @@ -3796,6 +4472,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket" } }, @@ -3843,6 +4531,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings" }, "get": { @@ -3891,6 +4591,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings" }, "put": { @@ -3960,6 +4672,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings" } }, @@ -4012,6 +4736,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles" }, "post": { @@ -4072,6 +4808,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole" } }, @@ -4143,6 +4891,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole" } }, @@ -4203,6 +4963,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole" }, "patch": { @@ -4279,6 +5051,18 @@ "tags": [ "Cloud Provider Access" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole" } }, @@ -4348,6 +5132,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters" }, "post": { @@ -4535,6 +5331,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster" } }, @@ -4610,6 +5418,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions" } }, @@ -4681,6 +5501,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster" } }, @@ -4753,6 +5585,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } + ], "x-sunset": "2025-02-05", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless" } @@ -4826,6 +5670,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster" }, "get": { @@ -4891,6 +5747,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster" }, "patch": { @@ -4964,6 +5832,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster" } }, @@ -5028,6 +5908,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api autoScalingConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration" } }, @@ -5094,6 +5986,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs" }, "post": { @@ -5163,6 +6067,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob" } }, @@ -5228,6 +6144,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob" } }, @@ -5294,6 +6222,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs" }, "post": { @@ -5366,6 +6306,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob" } }, @@ -5436,6 +6388,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob" }, "get": { @@ -5501,6 +6465,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob" } }, @@ -5558,6 +6534,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules" }, "get": { @@ -5613,6 +6601,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule" }, "patch": { @@ -5682,6 +6682,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule" } }, @@ -5751,6 +6763,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups" }, "post": { @@ -5820,6 +6844,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot" } }, @@ -5884,6 +6920,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup" }, "get": { @@ -5955,6 +7003,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup" } }, @@ -6015,6 +7075,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups" } }, @@ -6082,6 +7154,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup" }, "get": { @@ -6153,6 +7237,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup" }, "patch": { @@ -6232,6 +7328,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention" } }, @@ -6310,6 +7418,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup" } }, @@ -6388,6 +7508,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob" } }, @@ -6452,6 +7584,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs" } }, @@ -6526,6 +7670,18 @@ "tags": [ "Shared-Tier Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob" } }, @@ -6590,6 +7746,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups" } }, @@ -6664,6 +7832,18 @@ "tags": [ "Shared-Tier Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup" } }, @@ -6731,6 +7911,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints" } }, @@ -6805,6 +7997,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint" } }, @@ -6862,6 +8066,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces" }, "patch": { @@ -6939,6 +8155,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch" }, "put": { @@ -7016,6 +8244,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut" } }, @@ -7084,6 +8324,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces" } }, @@ -7163,6 +8415,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated" } @@ -7250,6 +8514,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated" } @@ -7326,6 +8602,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated" }, @@ -7400,6 +8688,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated" }, @@ -7491,6 +8791,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated" } @@ -7556,6 +8868,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace" } }, @@ -7617,6 +8941,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings" }, "post": { @@ -7691,6 +9027,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping" } }, @@ -7771,6 +9119,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace" }, "post": { @@ -7848,6 +9208,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace" } }, @@ -8011,6 +9383,18 @@ "tags": [ "Rolling Index" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex" } }, @@ -8081,6 +9465,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives" }, "post": { @@ -8157,6 +9553,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } + ], "x-xgen-changelog": { "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" }, @@ -8260,6 +9668,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs" } }, @@ -8328,6 +9748,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive" }, "get": { @@ -8403,6 +9835,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive" }, "patch": { @@ -8489,6 +9933,18 @@ "tags": [ "Online Archive" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive" } }, @@ -8553,6 +10009,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation" }, "get": { @@ -8620,6 +10088,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation" }, "post": { @@ -8693,6 +10173,18 @@ "tags": [ "Cluster Outage Simulation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation" } }, @@ -8747,6 +10239,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDropIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes" } }, @@ -8801,6 +10305,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSchemaAdvice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice" } }, @@ -8906,6 +10422,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusterSuggestedIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes" } }, @@ -8973,6 +10501,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration" }, "patch": { @@ -9047,6 +10587,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration" } }, @@ -9101,6 +10653,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover" } }, @@ -9184,6 +10748,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs" }, "post": { @@ -9258,6 +10834,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob" } }, @@ -9337,6 +10925,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob" } }, @@ -9397,6 +10997,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment" }, "get": { @@ -9455,6 +11067,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-xgen-changelog": { "2025-03-12": "Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400." }, @@ -9530,6 +11154,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment" }, "post": { @@ -9602,6 +11238,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment" } }, @@ -9682,6 +11330,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster" }, "post": { @@ -9758,6 +11418,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex" } }, @@ -9856,6 +11528,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes" } }, @@ -9944,6 +11628,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName" }, "get": { @@ -10033,6 +11729,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName" }, "patch": { @@ -10136,6 +11844,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName" } }, @@ -10210,6 +11930,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex" }, "get": { @@ -10295,6 +12027,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex" }, "patch": { @@ -10384,6 +12128,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndex --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex" } }, @@ -10449,6 +12205,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule" }, "patch": { @@ -10523,6 +12291,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule" } }, @@ -10608,6 +12388,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots" } }, @@ -10680,6 +12472,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot" }, "get": { @@ -10753,6 +12557,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot" }, "patch": { @@ -10834,6 +12650,18 @@ "tags": [ "Legacy Backup" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention" } }, @@ -10894,6 +12722,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus" } }, @@ -10971,6 +12811,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster" } }, @@ -11098,6 +12950,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements" } }, @@ -11170,6 +13034,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api grantMongoDbEmployeeAccess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess" } }, @@ -11241,6 +13117,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinFeatureCompatibilityVersion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion" } }, @@ -11301,6 +13189,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeMongoDbEmployeeAccess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess" } }, @@ -11364,6 +13264,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinFeatureCompatibilityVersion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion" } }, @@ -11465,6 +13377,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs" } }, @@ -11509,6 +13433,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics" } }, @@ -11583,6 +13519,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider" }, "post": { @@ -11645,6 +13593,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer" } }, @@ -11701,6 +13661,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers" } }, @@ -11762,6 +13734,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer" }, "get": { @@ -11821,6 +13805,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer" }, "patch": { @@ -11894,6 +13890,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer" } }, @@ -11947,6 +13955,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles" }, "post": { @@ -12009,6 +14029,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole" } }, @@ -12068,6 +14100,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole" }, "get": { @@ -12122,6 +14166,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole" }, "patch": { @@ -12193,6 +14249,18 @@ "tags": [ "Custom Database Roles" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole" } }, @@ -12264,6 +14332,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases" }, "post": { @@ -12332,6 +14412,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase" } }, @@ -12385,6 +14477,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase" }, "get": { @@ -12443,6 +14547,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase" }, "patch": { @@ -12520,6 +14636,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase" } }, @@ -12587,6 +14715,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits" } }, @@ -12655,6 +14795,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit" }, "get": { @@ -12727,6 +14879,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit" }, "patch": { @@ -12807,6 +14971,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit" } }, @@ -12887,6 +15063,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs" } }, @@ -12943,6 +15131,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers" }, "post": { @@ -13161,6 +15361,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser" } }, @@ -13229,6 +15441,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser" }, "get": { @@ -13298,6 +15522,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser" }, "patch": { @@ -13384,6 +15620,18 @@ "tags": [ "Database Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser" } }, @@ -13452,6 +15700,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates" }, "post": { @@ -13528,6 +15788,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate" } }, @@ -13639,6 +15911,18 @@ "tags": [ "Access Tracking" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName" } }, @@ -13746,6 +16030,18 @@ "tags": [ "Access Tracking" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname" } }, @@ -13797,6 +16093,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest" }, "patch": { @@ -13859,6 +16167,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest" } }, @@ -13928,6 +16248,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider" }, "post": { @@ -13997,6 +16329,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint" } }, @@ -14064,6 +16408,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion" }, "get": { @@ -14135,6 +16491,18 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint" } }, @@ -14267,6 +16635,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents" } }, @@ -14340,6 +16720,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent" } }, @@ -14399,6 +16791,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexClusters --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters" }, "post": { @@ -14464,6 +16868,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster" } }, @@ -14524,6 +16940,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster" }, "get": { @@ -14588,6 +17016,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster" }, "patch": { @@ -14660,6 +17100,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster" } }, @@ -14734,6 +17186,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFlexBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup" } }, @@ -14803,6 +17267,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs" }, "post": { @@ -14875,6 +17351,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFlexBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob" } }, @@ -14945,6 +17433,18 @@ "tags": [ "Flex Restore Jobs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob" } }, @@ -15014,6 +17514,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFlexBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups" } }, @@ -15082,6 +17594,18 @@ "tags": [ "Flex Snapshots" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFlexBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup" } }, @@ -15149,6 +17673,18 @@ "tags": [ "Flex Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeFlexCluster --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster" } }, @@ -15199,6 +17735,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes" } }, @@ -15298,6 +17846,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics" } }, @@ -15400,6 +17960,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics" } }, @@ -15491,6 +18063,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements" } }, @@ -15550,6 +18134,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations" } }, @@ -15619,6 +18215,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration" }, "get": { @@ -15692,6 +18300,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration" }, "post": { @@ -15785,6 +18405,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration" }, "put": { @@ -15878,6 +18510,18 @@ "tags": [ "Third-Party Integrations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration" } }, @@ -15946,6 +18590,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations" }, @@ -16007,6 +18663,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation" }, @@ -16065,6 +18733,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation" } @@ -16118,6 +18798,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation" }, @@ -16178,6 +18870,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation" }, @@ -16246,6 +18950,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById" } @@ -16297,6 +19013,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIpAddresses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses" } }, @@ -16361,6 +19089,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits" } }, @@ -16436,6 +19176,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit" }, "get": { @@ -16515,6 +19267,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit" }, "patch": { @@ -16602,6 +19366,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit" } }, @@ -16668,6 +19444,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration" } }, @@ -16730,6 +19518,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration" } }, @@ -16788,6 +19588,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus" } }, @@ -16838,6 +19650,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration" } }, @@ -16888,6 +19712,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration" } }, @@ -16932,6 +19768,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow" }, "get": { @@ -16980,6 +19828,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow" }, "patch": { @@ -17033,6 +19893,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow" } }, @@ -17077,6 +19949,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer" } }, @@ -17121,6 +20005,18 @@ "tags": [ "Maintenance Windows" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow" } }, @@ -17171,6 +20067,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs" } }, @@ -17215,6 +20123,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding" } }, @@ -17259,6 +20179,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding" } }, @@ -17365,6 +20297,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLtsVersions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions" } }, @@ -17441,6 +20385,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections" }, "post": { @@ -17507,6 +20463,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection" } }, @@ -17567,6 +20535,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection" }, "get": { @@ -17628,6 +20608,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection" }, "patch": { @@ -17700,6 +20692,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection" } }, @@ -17759,6 +20763,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines" }, @@ -17821,6 +20837,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline" } @@ -17874,6 +20902,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline" }, @@ -17937,6 +20977,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline" }, @@ -18008,6 +21060,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline" } @@ -18080,6 +21144,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules" } @@ -18164,6 +21240,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots" } @@ -18226,6 +21314,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline" } @@ -18288,6 +21388,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline" } @@ -18371,6 +21483,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns" } @@ -18444,6 +21568,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset" }, @@ -18518,6 +21654,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun" } @@ -18591,6 +21739,18 @@ "tags": [ "Data Lake Pipelines" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } + ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion" } @@ -18657,6 +21817,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService" } }, @@ -18704,6 +21876,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting" }, "patch": { @@ -18763,6 +21947,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting" } }, @@ -18831,6 +22027,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints" }, "post": { @@ -18901,6 +22109,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint" } }, @@ -18965,6 +22185,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint" }, "get": { @@ -19033,6 +22265,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint" }, "patch": { @@ -19109,6 +22353,18 @@ "tags": [ "Serverless Private Endpoints" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint" } }, @@ -19188,6 +22444,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices" } }, @@ -19263,6 +22531,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService" }, "get": { @@ -19342,6 +22622,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService" } }, @@ -19437,6 +22729,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint" } }, @@ -19522,6 +22826,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint" }, "get": { @@ -19611,6 +22927,18 @@ "tags": [ "Private Endpoint Services" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint" } }, @@ -19666,6 +22994,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject" }, "patch": { @@ -19730,6 +23070,18 @@ "tags": [ "Network Peering" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering" } }, @@ -19789,6 +23141,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints" }, "post": { @@ -19848,6 +23212,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint" } }, @@ -19902,6 +23278,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint" }, "get": { @@ -19960,6 +23348,18 @@ "tags": [ "Data Federation" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint" } }, @@ -20016,6 +23416,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses" } }, @@ -20077,6 +23489,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess" } }, @@ -20133,6 +23557,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost" } }, @@ -20204,6 +23640,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases" } }, @@ -20274,6 +23722,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase" } }, @@ -20383,6 +23843,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements" } }, @@ -20450,6 +23922,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions" } }, @@ -20517,6 +24001,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements" } }, @@ -20638,6 +24134,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements" } }, @@ -20868,6 +24376,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements" } }, @@ -20947,6 +24467,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces" } }, @@ -21077,6 +24609,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries" } }, @@ -21196,6 +24740,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes" } }, @@ -21300,6 +24856,18 @@ "tags": [ "Collection Level Metrics" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements" } }, @@ -21347,6 +24915,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration" }, "get": { @@ -21396,6 +24976,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration" }, "patch": { @@ -21453,6 +25045,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration" }, "post": { @@ -21510,6 +25114,18 @@ "tags": [ "Push-Based Log Export" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration" } }, @@ -21570,6 +25186,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset" } }, @@ -21627,6 +25255,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus" } }, @@ -21690,6 +25330,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances" }, "post": { @@ -21759,6 +25411,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance" } }, @@ -21832,6 +25496,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs" }, "post": { @@ -21908,6 +25584,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob" } }, @@ -21985,6 +25673,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob" } }, @@ -22058,6 +25758,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups" } }, @@ -22133,6 +25845,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup" } }, @@ -22194,6 +25918,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing" }, "post": { @@ -22256,6 +25992,18 @@ "tags": [ "Performance Advisor" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing" } }, @@ -22323,6 +26071,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance" }, "get": { @@ -22391,6 +26151,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance" }, "patch": { @@ -22467,6 +26239,18 @@ "tags": [ "Serverless Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance" } }, @@ -22520,6 +26304,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts" }, "post": { @@ -22580,6 +26376,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount" } }, @@ -22636,6 +26444,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount" }, "get": { @@ -22695,6 +26515,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount" }, "patch": { @@ -22765,6 +26597,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount" } }, @@ -22832,6 +26676,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList" }, "post": { @@ -22919,6 +26775,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList" } }, @@ -22988,6 +26856,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccountAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry" } }, @@ -23060,6 +26940,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret" } }, @@ -23124,6 +27016,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret" } }, @@ -23194,6 +27098,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount" } }, @@ -23244,6 +27160,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings" }, "patch": { @@ -23300,6 +27228,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings" } }, @@ -23353,6 +27293,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23415,6 +27367,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23480,6 +27444,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAccountDetails --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails" } }, @@ -23530,6 +27506,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getActiveVpcPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections" } }, @@ -23583,6 +27571,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateLinkConnections --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23648,6 +27648,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23704,6 +27716,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23758,6 +27782,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateLinkConnection --help" + } + ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -23820,6 +27856,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getVpcPeeringConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections" } }, @@ -23870,6 +27918,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection" } }, @@ -23931,6 +27991,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acceptVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection" } }, @@ -23981,6 +28053,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api rejectVpcPeeringConnection --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection" } }, @@ -24034,6 +28118,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24102,6 +28198,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24173,6 +28281,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24259,6 +28379,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs" } }, @@ -24321,6 +28453,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24395,6 +28539,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24463,6 +28619,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24529,6 +28697,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24612,6 +28792,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } + ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -24688,6 +28880,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor" } }, @@ -24750,6 +28954,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor" }, "get": { @@ -24819,6 +29035,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor" }, "patch": { @@ -24896,6 +29124,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api modifyStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor" } }, @@ -24958,6 +29198,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor" } }, @@ -25031,6 +29283,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessorWith --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessorWith" } }, @@ -25093,6 +29357,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api stopStreamProcessor --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor" } }, @@ -25165,6 +29441,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamProcessors --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors" } }, @@ -25226,6 +29514,18 @@ "tags": [ "Streams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams:withSampleConnections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstanceWithSampleConnections --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections" } }, @@ -25285,6 +29585,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams" }, "post": { @@ -25351,6 +29663,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject" } }, @@ -25409,6 +29733,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam" }, "patch": { @@ -25482,6 +29818,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles" } }, @@ -25533,6 +29881,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration" }, "patch": { @@ -25592,6 +29952,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration" } }, @@ -25636,6 +30008,18 @@ "tags": [ "X.509 Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509" } }, @@ -25683,6 +30067,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration" } }, @@ -25744,6 +30140,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLdapConfiguration --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration" } }, @@ -25801,6 +30209,18 @@ "tags": [ "LDAP Configuration" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLdapConfigurationStatus --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus" } }, @@ -25897,6 +30317,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers" }, "post": { @@ -25959,6 +30391,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser" } }, @@ -26023,6 +30467,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser" }, "get": { @@ -26081,6 +30537,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser" } }, @@ -26150,6 +30618,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles" } @@ -26229,6 +30709,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:addRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole" } }, @@ -26307,6 +30799,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole" } }, @@ -26362,9 +30866,70 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api migrateProjectToAnotherOrg --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg" } }, + "/api/atlas/v2/openapi/info": { + "get": { + "description": "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}", + "operationId": "getOpenApiInfo", + "parameters": [ + { + "$ref": "#/components/parameters/pretty" + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2024-08-05+json": { + "schema": { + "$ref": "#/components/schemas/OpenApiInfo" + }, + "x-xgen-version": "2024-08-05" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return general information about the MongoDB Atlas Administration API OpenAPI Specification.", + "tags": [ + "OpenAPI" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/openapi/info?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOpenApiInfo --help" + } + ] + } + }, "/api/atlas/v2/orgs": { "get": { "description": "Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role.", @@ -26429,6 +30994,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations" }, "post": { @@ -26495,6 +31072,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization" } }, @@ -26545,6 +31134,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization" }, "get": { @@ -26599,6 +31200,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization" }, "patch": { @@ -26661,6 +31274,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganization --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization" } }, @@ -26721,6 +31346,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys" }, "post": { @@ -26781,6 +31418,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey" } }, @@ -26839,6 +31488,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey" }, "get": { @@ -26901,6 +31562,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey" }, "patch": { @@ -26974,6 +31647,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey" } }, @@ -27044,6 +31729,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries" }, "post": { @@ -27128,6 +31825,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList" } }, @@ -27200,6 +31909,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry" }, "get": { @@ -27270,6 +31991,18 @@ "tags": [ "Programmatic API Keys" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList" } }, @@ -27328,6 +32061,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess" } }, @@ -27399,6 +32144,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCostExplorerQueryProcess --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess" } }, @@ -27507,6 +32264,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents" } }, @@ -27580,6 +32349,18 @@ "tags": [ "Events" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent" } }, @@ -27633,6 +32414,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings" } }, @@ -27705,6 +32498,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects" } }, @@ -27780,6 +32585,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations" }, @@ -27845,6 +32662,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation" }, @@ -27910,6 +32739,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation" } @@ -27972,6 +32813,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation" }, @@ -28036,6 +32889,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation" }, @@ -28111,6 +32976,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById" } @@ -28249,6 +33126,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices" } }, @@ -28296,6 +33185,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices" } }, @@ -28365,6 +33266,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice" } }, @@ -28423,6 +33336,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCsv --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv" } }, @@ -28497,6 +33422,18 @@ "tags": [ "Invoices" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api queryLineItemsFromSingleInvoice --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice" } }, @@ -28553,6 +33490,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects" } }, @@ -28597,6 +33546,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken" }, "post": { @@ -28656,6 +33617,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken" } }, @@ -28720,6 +33693,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getResourcesNonCompliant --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant" } }, @@ -28785,6 +33770,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasResourcePolicies --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies" }, "post": { @@ -28857,6 +33854,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy" } }, @@ -28921,6 +33930,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy" }, "get": { @@ -28989,6 +34010,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy" }, "patch": { @@ -29074,6 +34107,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy" } }, @@ -29148,6 +34193,18 @@ "tags": [ "Resource Policies" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateAtlasResourcePolicy --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy" } }, @@ -29201,6 +34258,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts" }, "post": { @@ -29260,6 +34329,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount" } }, @@ -29315,6 +34396,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount" }, "get": { @@ -29374,6 +34467,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount" }, "patch": { @@ -29444,6 +34549,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount" } }, @@ -29511,6 +34628,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList" }, "post": { @@ -29598,6 +34727,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountAccessList --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList" } }, @@ -29667,6 +34808,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountAccessListEntry --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry" } }, @@ -29735,6 +34888,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects" } }, @@ -29807,6 +34972,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret" } }, @@ -29871,6 +35048,18 @@ "tags": [ "Service Accounts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret" } }, @@ -29921,6 +35110,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings" }, "patch": { @@ -29980,6 +35181,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings" } }, @@ -30043,6 +35256,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams" }, "post": { @@ -30109,6 +35334,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam" } }, @@ -30172,6 +35409,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName" } }, @@ -30233,6 +35482,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam" }, "get": { @@ -30295,6 +35556,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById" }, "patch": { @@ -30371,6 +35644,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam" } }, @@ -30462,6 +35747,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers" }, "post": { @@ -30542,6 +35839,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser" } @@ -30615,6 +35924,18 @@ "tags": [ "Teams" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser" } @@ -30691,6 +36012,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam" } }, @@ -30766,6 +36099,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeUserFromTeam --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam" } }, @@ -30847,6 +36192,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers" }, "post": { @@ -30909,6 +36266,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser" } }, @@ -30973,6 +36342,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser" }, "get": { @@ -31031,6 +36412,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser" }, "patch": { @@ -31104,6 +36497,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser" } }, @@ -31173,6 +36578,18 @@ "tags": [ "Organizations" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles" } @@ -31252,6 +36669,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addOrganizationRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole" } }, @@ -31327,6 +36756,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationRole --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole" } }, @@ -31360,9 +36801,93 @@ "tags": [ "Root" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIpAddresses --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses" } }, + "/api/atlas/v2/unauth/openapi/versions": { + "get": { + "description": "API that provides a list of available versionsfor a given environment.", + "operationId": "getApiVersions", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/itemsPerPage" + }, + { + "$ref": "#/components/parameters/pageNum" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com).", + "in": "query", + "name": "env", + "schema": { + "enum": [ + "dev", + "qa", + "prod", + "stage" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2024-08-05+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedApiVersions" + }, + "x-xgen-version": "2024-08-05" + }, + "application/vnd.atlas.2024-08-05+yaml": { + "schema": { + "$ref": "#/components/schemas/PaginatedApiVersions" + }, + "x-xgen-version": "2024-08-05" + } + }, + "description": "OK" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Provides a list of versions for a given environment.", + "tags": [ + "OpenAPI" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/unauth/openapi/versions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiVersions --help" + } + ] + } + }, "/api/atlas/v2/users": { "post": { "deprecated": true, @@ -31416,6 +36941,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser" } @@ -31476,6 +37013,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } + ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername" } @@ -31539,6 +37088,18 @@ "tags": [ "MongoDB Cloud Users" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } + ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser" } } @@ -35096,6 +40657,15 @@ "title": "API User Events", "type": "object" }, + "ApiVersion": { + "properties": { + "version": { + "description": "Object representing a version of the Atlas Admin API.", + "type": "string" + } + }, + "type": "object" + }, "AppServiceAlertConfigViewForNdsGroup": { "description": "App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified.", "properties": { @@ -56887,6 +62457,35 @@ "type": "object", "writeOnly": true }, + "Info": { + "description": "Information about the MongoDB Atlas Administration API OpenAPI Specification.", + "properties": { + "description": { + "description": "Description of the MongoDB Atlas Administration API.", + "example": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.", + "type": "string" + }, + "license": { + "$ref": "#/components/schemas/License" + }, + "termsOfService": { + "description": "Terms of Service URL.", + "example": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "type": "string" + }, + "title": { + "description": "Title of the MongoDB Atlas Administration API.", + "example": "MongoDB Atlas Administration API.", + "type": "string" + }, + "version": { + "description": "Version of the MongoDB Atlas Administration API.", + "example": "2.0", + "type": "string" + } + }, + "type": "object" + }, "IngestionPipelineRun": { "description": "Run details of a Data Lake Pipeline.", "properties": { @@ -58624,6 +64223,22 @@ ], "type": "object" }, + "License": { + "description": "License information of the MongoDB Atlas Administration API.", + "properties": { + "name": { + "description": "Name of the license.", + "example": "CC BY-NC-SA 3.0 US", + "type": "string" + }, + "url": { + "description": "URL of the license.", + "example": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/", + "type": "string" + } + }, + "type": "object" + }, "Link": { "properties": { "href": { @@ -61251,6 +66866,14 @@ "title": "Online Archive Schedule", "type": "object" }, + "OpenApiInfo": { + "properties": { + "info": { + "$ref": "#/components/schemas/Info" + } + }, + "type": "object" + }, "Operator": { "description": "Comparison operator to apply when checking the current metric value.", "enum": [ @@ -63136,6 +68759,38 @@ }, "type": "object" }, + "PaginatedApiVersions": { + "properties": { + "links": { + "description": "List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.", + "externalDocs": { + "description": "Web Linking Specification (RFC 5988)", + "url": "https://datatracker.ietf.org/doc/html/rfc5988" + }, + "items": { + "$ref": "#/components/schemas/Link" + }, + "readOnly": true, + "type": "array" + }, + "results": { + "description": "List of returned documents that MongoDB Cloud provides when completing this request.", + "items": { + "$ref": "#/components/schemas/ApiVersion" + }, + "readOnly": true, + "type": "array" + }, + "totalCount": { + "description": "Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact.", + "format": "int32", + "minimum": 0, + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, "PaginatedAtlasGroupView": { "properties": { "links": { diff --git a/openapi/v2/openapi-2025-03-12.yaml b/openapi/v2/openapi-2025-03-12.yaml index 125238983e..7fa7eb3d10 100644 --- a/openapi/v2/openapi-2025-03-12.yaml +++ b/openapi/v2/openapi-2025-03-12.yaml @@ -2847,6 +2847,12 @@ components: - id title: API User Events type: object + ApiVersion: + properties: + version: + description: Object representing a version of the Atlas Admin API. + type: string + type: object AppServiceAlertConfigViewForNdsGroup: description: App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified. properties: @@ -20481,6 +20487,28 @@ components: type: object type: object writeOnly: true + Info: + description: Information about the MongoDB Atlas Administration API OpenAPI Specification. + properties: + description: + description: Description of the MongoDB Atlas Administration API. + example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. + type: string + license: + $ref: '#/components/schemas/License' + termsOfService: + description: Terms of Service URL. + example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions + type: string + title: + description: Title of the MongoDB Atlas Administration API. + example: MongoDB Atlas Administration API. + type: string + version: + description: Version of the MongoDB Atlas Administration API. + example: "2.0" + type: string + type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -21999,6 +22027,18 @@ components: - eventTypeName - notifications type: object + License: + description: License information of the MongoDB Atlas Administration API. + properties: + name: + description: Name of the license. + example: CC BY-NC-SA 3.0 US + type: string + url: + description: URL of the license. + example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ + type: string + type: object Link: properties: href: @@ -24146,6 +24186,11 @@ components: - type title: Online Archive Schedule type: object + OpenApiInfo: + properties: + info: + $ref: '#/components/schemas/Info' + type: object Operator: description: Comparison operator to apply when checking the current metric value. enum: @@ -25647,6 +25692,30 @@ components: readOnly: true type: integer type: object + PaginatedApiVersions: + properties: + links: + description: List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. + externalDocs: + description: Web Linking Specification (RFC 5988) + url: https://datatracker.ietf.org/doc/html/rfc5988 + items: + $ref: '#/components/schemas/Link' + readOnly: true + type: array + results: + description: List of returned documents that MongoDB Cloud provides when completing this request. + items: + $ref: '#/components/schemas/ApiVersion' + readOnly: true + type: array + totalCount: + description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + format: int32 + minimum: 0 + readOnly: true + type: integer + type: object PaginatedAtlasGroupView: properties: links: @@ -34428,6 +34497,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus /api/atlas/v2/alertConfigs/matchers/fieldNames: get: @@ -34457,6 +34537,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames /api/atlas/v2/clusters: get: @@ -34485,6 +34576,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects /api/atlas/v2/eventTypes: get: @@ -34513,6 +34615,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes /api/atlas/v2/federationSettings/{federationSettingsId}: delete: @@ -34539,6 +34652,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: @@ -34570,6 +34694,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: @@ -34605,6 +34740,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in the connected org. @@ -34643,6 +34789,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." @@ -34686,6 +34843,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: @@ -34716,6 +34885,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34752,6 +34932,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: @@ -34788,6 +34980,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34827,6 +35030,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34871,6 +35085,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: @@ -34926,6 +35152,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders post: description: |- @@ -34964,6 +35201,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: @@ -35001,6 +35250,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' @@ -35038,6 +35298,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider patch: description: |- @@ -35083,6 +35354,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: @@ -35120,6 +35403,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -35149,6 +35443,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata /api/atlas/v2/groups: get: @@ -35181,6 +35486,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -35224,6 +35540,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject /api/atlas/v2/groups/{groupId}: delete: @@ -35254,6 +35582,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -35286,6 +35625,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -35322,6 +35672,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject /api/atlas/v2/groups/{groupId}/access: post: @@ -35363,6 +35725,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject /api/atlas/v2/groups/{groupId}/accessList: @@ -35398,6 +35772,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help x-xgen-changelog: "2025-05-08": Corrects an issue where the endpoint would include Atlas internal entries. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists @@ -35444,6 +35829,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: @@ -35486,6 +35883,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. @@ -35526,6 +35934,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: @@ -35566,6 +35985,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus /api/atlas/v2/groups/{groupId}/alertConfigs: get: @@ -35600,6 +36030,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations post: description: |- @@ -35639,6 +36080,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: @@ -35679,6 +36132,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration get: description: |- @@ -35722,6 +36186,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration patch: description: |- @@ -35772,6 +36247,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration put: description: |- @@ -35824,6 +36311,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: @@ -35872,6 +36371,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId /api/atlas/v2/groups/{groupId}/alerts: get: @@ -35917,6 +36427,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: @@ -35960,6 +36481,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert patch: description: |- @@ -36009,6 +36541,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -36056,6 +36600,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId /api/atlas/v2/groups/{groupId}/apiKeys: get: @@ -36090,6 +36645,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36124,6 +36690,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: @@ -36162,6 +36740,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. @@ -36208,6 +36797,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36249,6 +36850,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey /api/atlas/v2/groups/{groupId}/auditLog: get: @@ -36279,6 +36892,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration patch: description: 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 Service Account or API Key must have the Project Owner role. This feature isn't available for `M0`, `M2`, `M5`, or serverless clusters. @@ -36315,6 +36939,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: @@ -36345,6 +36981,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns patch: description: 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 Service Account or API Key must have the Project Atlas Admin role. @@ -36379,6 +37026,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: @@ -36410,6 +37069,17 @@ paths: summary: Return All Snapshot Export Buckets tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets post: description: 'Creates a Snapshot Export Bucket for an AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. Once created, an snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36500,6 +37170,18 @@ paths: summary: Create One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -36535,6 +37217,17 @@ paths: summary: Delete One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket get: description: 'Returns one Export Bucket associated with the specified Project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -36602,6 +37295,17 @@ paths: summary: Return One Snapshot Export Bucket tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: delete: @@ -36630,6 +37334,17 @@ paths: summary: Disable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + - label: Atlas CLI + lang: cURL + source: atlas api disableDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings get: description: 'Returns the Backup Compliance Policy settings with the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36659,6 +37374,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings put: description: 'Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -36702,6 +37428,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: @@ -36734,6 +37472,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: description: 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 Service Account or API Key must have the Project Owner role. @@ -36771,6 +37520,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: @@ -36816,6 +37577,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: @@ -36853,6 +37625,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. This is not required for GCP service account access. @@ -36901,6 +37684,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/clusters: get: @@ -36944,6 +37739,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters post: description: |- @@ -37072,6 +37878,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -37120,6 +37938,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster get: description: |- @@ -37164,6 +37993,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster patch: description: '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 Service Account or API Key must have the Project Owner role. For all other updates, the requesting Service Account or 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}' @@ -37210,6 +38050,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -37297,6 +38149,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: @@ -37344,6 +38207,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration: get: @@ -37384,6 +38258,17 @@ paths: summary: Get cluster internal configuration of sharded cluster AutoScaling operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api autoScalingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -37422,6 +38307,17 @@ paths: summary: Return All Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs post: description: Exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket. To use this resource, the requesting Service Account or API Key must have the Project Atlas Admin role. @@ -37466,6 +38362,18 @@ paths: summary: Create One Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: @@ -37508,6 +38416,17 @@ paths: summary: Return One Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: @@ -37546,6 +38465,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs post: description: |- @@ -37594,6 +38524,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: @@ -37638,6 +38580,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob get: description: Returns one cloud backup restore job for one cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -37679,6 +38632,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: @@ -37715,6 +38679,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules get: description: '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 Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -37749,6 +38724,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule patch: description: '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 Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37795,6 +38781,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -37835,6 +38833,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups post: description: |- @@ -37881,6 +38890,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: @@ -37923,6 +38944,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -37968,6 +39000,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -38018,6 +39061,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: @@ -38058,6 +39113,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup get: description: Returns one snapshot of one sharded cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -38103,6 +39169,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: @@ -38140,6 +39217,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: @@ -38192,6 +39280,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: @@ -38244,6 +39344,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: @@ -38287,6 +39399,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: @@ -38337,6 +39460,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: @@ -38380,6 +39514,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: @@ -38430,6 +39575,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: @@ -38469,6 +39625,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: @@ -38516,6 +39683,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: @@ -38552,6 +39730,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster. @@ -38601,6 +39790,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch put: description: 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. @@ -38650,6 +39851,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: @@ -38693,6 +39906,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: @@ -38743,6 +39968,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: @@ -38799,6 +40036,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: @@ -38848,6 +40096,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated get: @@ -38896,6 +40155,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated patch: @@ -38955,6 +40225,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: @@ -38996,6 +40278,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -39034,6 +40327,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -39081,6 +40385,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -39131,6 +40447,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -39180,6 +40507,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -39290,6 +40629,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: @@ -39331,6 +40682,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -39379,6 +40741,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help x-xgen-changelog: "2023-08-02": If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/createOnlineArchive @@ -39424,6 +40798,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -39472,6 +40857,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -39527,6 +40923,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: @@ -39594,6 +41002,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: @@ -39634,6 +41053,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation get: description: Returns one outage simulation for one cluster. @@ -39677,6 +41107,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation post: description: Starts a cluster outage simulation. @@ -39723,6 +41164,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions: get: @@ -39758,6 +41211,17 @@ paths: summary: Returns Suggested Indexes to Drop tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDropIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice: get: @@ -39793,6 +41257,17 @@ paths: summary: Return Schema Advice tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSchemaAdvice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes: get: @@ -39871,6 +41346,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusterSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: @@ -39913,6 +41399,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration patch: description: '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 Service Account or 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}' @@ -39960,6 +41457,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -39993,6 +41502,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: @@ -40046,6 +41567,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs post: deprecated: true @@ -40093,6 +41625,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: @@ -40147,6 +41691,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: @@ -40184,6 +41739,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment get: description: 'Returns the Search Nodes for the specified cluster. Deprecated versions: v2-{2024-05-30}, v2-{2023-01-01}' @@ -40220,6 +41786,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help x-xgen-changelog: "2025-03-12": Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchDeployment @@ -40267,6 +41844,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment post: description: Creates Search Nodes for the specified cluster. @@ -40312,6 +41901,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: @@ -40362,6 +41963,17 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster post: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40410,6 +42022,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: @@ -40472,6 +42096,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: @@ -40528,6 +42163,17 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -40585,6 +42231,17 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40651,6 +42308,18 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: @@ -40698,6 +42367,17 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -40752,6 +42432,17 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -40809,6 +42500,18 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -40853,6 +42556,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule patch: deprecated: true @@ -40903,6 +42617,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: @@ -40955,6 +42681,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: @@ -41001,6 +42738,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot get: deprecated: true @@ -41048,6 +42796,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot patch: deprecated: true @@ -41100,6 +42859,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: @@ -41137,6 +42908,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess: post: @@ -41182,6 +42964,18 @@ paths: summary: Grant MongoDB employee cluster access for one cluster. tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api grantMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: @@ -41226,6 +43020,18 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess: post: @@ -41263,6 +43069,18 @@ paths: summary: Revoke granted MongoDB employee cluster access for one cluster. tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api revokeMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: @@ -41302,6 +43120,18 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: @@ -41370,6 +43200,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: @@ -41413,6 +43254,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: @@ -41457,6 +43309,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: @@ -41505,6 +43369,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help x-sunset: "2025-02-05" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless /api/atlas/v2/groups/{groupId}/collStats/metrics: @@ -41533,6 +43409,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics /api/atlas/v2/groups/{groupId}/containers: get: @@ -41577,6 +43464,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -41615,6 +43513,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: @@ -41653,6 +43563,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -41690,6 +43611,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -41736,6 +43668,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer /api/atlas/v2/groups/{groupId}/containers/all: get: @@ -41767,6 +43711,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: @@ -41799,6 +43754,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles post: description: Creates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -41837,6 +43803,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: @@ -41873,6 +43851,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole get: description: Returns one custom role for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -41906,6 +43895,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole patch: description: Updates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -41950,6 +43950,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole /api/atlas/v2/groups/{groupId}/dataFederation: get: @@ -41995,6 +44007,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases post: description: Creates one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles. @@ -42037,6 +44060,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: @@ -42069,6 +44104,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase get: description: Returns the details of one federated database instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -42106,6 +44152,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase patch: description: Updates the details of one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or higher role. @@ -42154,6 +44211,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: @@ -42196,6 +44265,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: @@ -42248,6 +44328,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit get: description: Returns the details of one query limit for the specified federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -42302,6 +44393,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit patch: description: Creates or updates one query limit for one federated database instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -42362,6 +44464,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: @@ -42416,6 +44530,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs /api/atlas/v2/groups/{groupId}/databaseUsers: get: @@ -42447,6 +44572,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers post: description: 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 Service Account or 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. @@ -42579,6 +44715,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: @@ -42635,6 +44783,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser get: description: Returns one database user that belong to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -42692,6 +44851,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Charts Admin role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -42760,6 +44930,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: @@ -42799,6 +44981,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates post: description: |- @@ -42852,6 +45045,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: @@ -42924,6 +45129,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: @@ -42993,6 +45209,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: @@ -43027,6 +45254,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest patch: description: |- @@ -43077,6 +45315,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: @@ -43117,6 +45367,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. @@ -43160,6 +45421,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: @@ -43202,6 +45475,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -43247,6 +45531,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/events: get: @@ -43338,6 +45633,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents /api/atlas/v2/groups/{groupId}/events/{eventId}: get: @@ -43387,6 +45693,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent /api/atlas/v2/groups/{groupId}/flexClusters: get: @@ -43420,6 +45737,17 @@ paths: summary: Return All Flex Clusters from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters post: description: Creates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43460,6 +45788,18 @@ paths: summary: Create One Flex Cluster in One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}: delete: @@ -43497,6 +45837,17 @@ paths: summary: Remove One Flex Cluster from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster get: description: Returns details for one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43537,6 +45888,17 @@ paths: summary: Return One Flex Cluster from One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster patch: description: Updates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43582,6 +45944,18 @@ paths: summary: Update One Flex Cluster in One Project tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download: post: @@ -43628,6 +46002,18 @@ paths: summary: Download One Flex Cluster Snapshot tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs: get: @@ -43668,6 +46054,17 @@ paths: summary: Return All Restore Jobs for One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs post: description: Restores one snapshot of one flex cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43713,6 +46110,18 @@ paths: summary: Restore One Snapshot of One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}: get: @@ -43757,6 +46166,17 @@ paths: summary: Return One Restore Job for One Flex Cluster tags: - Flex Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots: get: @@ -43797,6 +46217,17 @@ paths: summary: Return All Snapshots of One Flex Cluster tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFlexBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}: get: @@ -43841,6 +46272,17 @@ paths: summary: Return One Snapshot of One Flex Cluster tags: - Flex Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade: post: @@ -43882,6 +46324,18 @@ paths: summary: Upgrade One Flex Cluster tags: - Flex Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: @@ -43912,6 +46366,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: @@ -43974,6 +46439,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: @@ -44035,6 +46511,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: @@ -44093,6 +46580,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements /api/atlas/v2/groups/{groupId}/integrations: get: @@ -44126,6 +46624,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: @@ -44172,6 +46681,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44221,6 +46741,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44280,6 +46811,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -44339,6 +46882,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration /api/atlas/v2/groups/{groupId}/invites: get: @@ -44382,6 +46937,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations patch: @@ -44420,6 +46986,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation post: @@ -44456,6 +47034,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation /api/atlas/v2/groups/{groupId}/invites/{invitationId}: @@ -44490,6 +47080,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation get: @@ -44528,6 +47129,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation patch: @@ -44572,6 +47184,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById /api/atlas/v2/groups/{groupId}/ipAddresses: @@ -44603,6 +47227,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses /api/atlas/v2/groups/{groupId}/limits: get: @@ -44643,6 +47278,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: @@ -44711,6 +47357,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit get: description: Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44782,6 +47439,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit patch: description: |- @@ -44861,6 +47529,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit /api/atlas/v2/groups/{groupId}/liveMigrations: post: @@ -44909,6 +47589,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -44938,6 +47630,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: @@ -44967,6 +47670,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: @@ -45005,6 +47720,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -45042,6 +47769,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: @@ -45069,6 +47807,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45098,6 +47847,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. Updating the maintenance window will reset any maintenance deferrals for this project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45131,6 +47891,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: @@ -45158,6 +47930,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: @@ -45185,6 +47969,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow /api/atlas/v2/groups/{groupId}/managedSlowMs: get: @@ -45215,6 +48011,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: @@ -45241,6 +48048,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: @@ -45267,6 +48085,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: @@ -45335,6 +48165,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLtsVersions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions /api/atlas/v2/groups/{groupId}/peers: get: @@ -45380,6 +48221,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. @@ -45421,6 +48273,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: @@ -45458,6 +48322,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -45496,6 +48371,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45541,6 +48427,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection /api/atlas/v2/groups/{groupId}/pipelines: get: @@ -45579,6 +48477,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines post: @@ -45619,6 +48528,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: @@ -45653,6 +48574,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline get: @@ -45693,6 +48625,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline patch: @@ -45739,6 +48682,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: @@ -45785,6 +48740,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: @@ -45836,6 +48802,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: @@ -45875,6 +48852,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: @@ -45914,6 +48903,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: @@ -45964,6 +48965,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: @@ -46011,6 +49023,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset get: @@ -46059,6 +49082,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: @@ -46105,6 +49139,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: @@ -46157,6 +49203,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: @@ -46205,6 +49262,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -46256,6 +49324,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: @@ -46317,6 +49396,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: @@ -46372,6 +49463,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -46430,6 +49532,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: @@ -46470,6 +49583,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: @@ -46498,6 +49623,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting Service Account or API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. @@ -46534,6 +49670,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: @@ -46581,6 +49729,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints post: description: |- @@ -46631,6 +49790,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: @@ -46675,6 +49846,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint get: description: |- @@ -46722,6 +49904,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint patch: description: |- @@ -46774,6 +49967,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateIpMode: get: @@ -46808,6 +50013,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject patch: deprecated: true @@ -46848,6 +50064,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: @@ -46881,6 +50109,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints post: description: |- @@ -46936,6 +50175,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: @@ -46969,6 +50220,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint get: description: Returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -47005,6 +50267,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/processes: get: @@ -47036,6 +50309,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses /api/atlas/v2/groups/{groupId}/processes/{processId}: get: @@ -47074,6 +50358,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -47143,6 +50438,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: @@ -47174,6 +50480,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: @@ -47216,6 +50533,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: @@ -47260,6 +50588,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: @@ -47330,6 +50669,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: @@ -47369,6 +50719,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: @@ -47412,6 +50773,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: @@ -47501,6 +50873,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: @@ -47703,6 +51086,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: @@ -47761,6 +51155,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: @@ -47854,6 +51259,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: @@ -47936,6 +51352,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: @@ -47964,6 +51391,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration get: description: Fetches the current project level settings for the push-based log export feature. @@ -47994,6 +51432,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration patch: description: Updates the project level settings for the push-based log export feature. @@ -48029,6 +51478,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration post: description: Configures the project level settings for the push-based log export feature. @@ -48064,6 +51525,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: @@ -48102,6 +51575,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: @@ -48138,6 +51623,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus /api/atlas/v2/groups/{groupId}/serverless: get: @@ -48177,6 +51673,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances post: description: |- @@ -48223,6 +51730,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: @@ -48269,6 +51788,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs post: description: |- @@ -48320,6 +51850,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: @@ -48372,6 +51914,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: @@ -48418,6 +51971,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: @@ -48470,6 +52034,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: @@ -48508,6 +52083,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing post: description: Set whether the Serverless Auto Indexing feature is enabled. This endpoint sets a value for Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. However, the value returned is not indicative of the Auto Indexing state as Auto Indexing is unavailable for Flex clusters. This endpoint will be sunset in January 2026. @@ -48548,6 +52134,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: @@ -48593,6 +52191,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance get: description: |- @@ -48639,6 +52248,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance patch: description: |- @@ -48690,6 +52310,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance /api/atlas/v2/groups/{groupId}/serviceAccounts: get: @@ -48720,6 +52352,17 @@ paths: summary: List All Project Service Accounts tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts post: description: Creates one Service Account for the specified Project. The Service Account will automatically be added as an Organization Member to the Organization that the specified Project is a part of. @@ -48757,6 +52400,18 @@ paths: summary: Create and Assign one Service Account to one Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}: delete: @@ -48792,6 +52447,17 @@ paths: summary: Unassign One Service Account from One Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount get: description: Returns one Service Account in the specified Project. @@ -48829,6 +52495,17 @@ paths: summary: Get one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount patch: description: Updates one Service Account in the specified Project. @@ -48873,6 +52550,18 @@ paths: summary: Update one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList: get: @@ -48912,6 +52601,17 @@ paths: summary: Return All Access List entries for one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the project. Resources require all API requests to originate from IP addresses on the API access list. @@ -48965,6 +52665,18 @@ paths: summary: Add Access List entries for one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -49009,6 +52721,17 @@ paths: summary: Remove One Access List entry from one Project Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets: post: @@ -49054,6 +52777,18 @@ paths: summary: Create one Project Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -49094,6 +52829,17 @@ paths: summary: Delete one Project Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite: post: @@ -49138,6 +52884,18 @@ paths: summary: Assign One Service Account to One Project tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount /api/atlas/v2/groups/{groupId}/settings: get: @@ -49168,6 +52926,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -49202,6 +52971,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings /api/atlas/v2/groups/{groupId}/streams: get: @@ -49232,6 +53013,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamInstances @@ -49270,6 +53062,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstance @@ -49304,6 +53108,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamInstance @@ -49347,6 +53162,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamInstance @@ -49391,6 +53217,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamInstance @@ -49448,6 +53286,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: @@ -49484,6 +53333,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamConnections @@ -49530,6 +53390,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamConnection @@ -49572,6 +53444,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamConnection @@ -49614,6 +53497,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamConnection @@ -49666,6 +53560,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamConnection @@ -49713,6 +53619,18 @@ paths: summary: Create One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: @@ -49751,6 +53669,17 @@ paths: summary: Delete One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -49794,6 +53723,17 @@ paths: summary: Get One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor patch: description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -49842,6 +53782,18 @@ paths: summary: Modify One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api modifyStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: @@ -49880,6 +53832,18 @@ paths: summary: Start One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith: post: @@ -49925,6 +53889,18 @@ paths: summary: Start One Stream Processor With Options tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessorWith --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessorWith /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: @@ -49963,6 +53939,18 @@ paths: summary: Stop One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api stopStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: @@ -50005,6 +53993,17 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamProcessors --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors /api/atlas/v2/groups/{groupId}/streams/accountDetails: get: @@ -50044,6 +54043,17 @@ paths: summary: Returns the Account ID, and the VPC ID for the group and region specified. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAccountDetails --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails /api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections: get: @@ -50072,6 +54082,17 @@ paths: summary: Returns all the active incoming VPC Peering Connections. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getActiveVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/privateLinkConnections: get: @@ -50102,6 +54123,17 @@ paths: summary: Return All Private Link tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateLinkConnections --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listPrivateLinkConnections @@ -50142,6 +54174,18 @@ paths: summary: Create One Private Link connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createPrivateLinkConnection @@ -50176,6 +54220,17 @@ paths: summary: Delete One Private Link connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deletePrivateLinkConnection @@ -50210,6 +54265,17 @@ paths: summary: Return One PrivateLink Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getPrivateLinkConnection @@ -50246,6 +54312,17 @@ paths: summary: Return All VPC Peering Connections. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}: delete: @@ -50277,6 +54354,17 @@ paths: summary: Deletes an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept: post: @@ -50315,6 +54403,18 @@ paths: summary: Requests the acceptance of an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acceptVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject: post: @@ -50346,6 +54446,18 @@ paths: summary: Requests the rejection of an incoming VPC Peering connection. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api rejectVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: @@ -50383,6 +54495,18 @@ paths: summary: Create One Stream Instance With Sample Connections tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams:withSampleConnections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstanceWithSampleConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections /api/atlas/v2/groups/{groupId}/teams: get: @@ -50416,6 +54540,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -50457,6 +54592,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: @@ -50494,6 +54641,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -50540,6 +54698,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles /api/atlas/v2/groups/{groupId}/userSecurity: get: @@ -50571,6 +54741,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration patch: description: |- @@ -50610,6 +54791,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: @@ -50640,6 +54833,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509 /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: @@ -50668,6 +54872,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: @@ -50705,6 +54920,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: @@ -50740,6 +54967,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLdapConfigurationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus /api/atlas/v2/groups/{groupId}/users: get: @@ -50803,6 +55041,17 @@ paths: summary: Return All MongoDB Cloud Users in One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers post: description: "Adds one MongoDB Cloud user to one project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. \n- If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access. \n- If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access. \n- If the user is already active in the project's organization, MongoDB Cloud grants access to the project. \n" @@ -50841,6 +55090,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}: delete: @@ -50886,6 +55147,17 @@ paths: summary: Remove One MongoDB Cloud User from One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser get: description: |- @@ -50927,6 +55199,17 @@ paths: summary: Return One MongoDB Cloud User in One Project tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: @@ -50970,6 +55253,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: @@ -51023,6 +55318,18 @@ paths: summary: Add One Project Role to One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:addRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole /api/atlas/v2/groups/{groupId}/users/{userId}:removeRole: post: @@ -51075,6 +55382,18 @@ paths: summary: Remove One Project Role from One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole /api/atlas/v2/groups/{groupId}:migrate: post: @@ -51109,6 +55428,18 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api migrateProjectToAnotherOrg --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg /api/atlas/v2/groups/byName/{groupName}: get: @@ -51148,7 +55479,52 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName + /api/atlas/v2/openapi/info: + get: + description: 'This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}' + operationId: getOpenApiInfo + parameters: + - $ref: '#/components/parameters/pretty' + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/OpenApiInfo' + x-xgen-version: "2024-08-05" + description: OK + "401": + $ref: '#/components/responses/unauthorized' + "403": + $ref: '#/components/responses/forbidden' + "500": + $ref: '#/components/responses/internalServerError' + summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + tags: + - OpenAPI + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/openapi/info?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOpenApiInfo --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51187,6 +55563,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations post: description: Creates one organization in MongoDB Cloud and links it to the requesting Service Account's or API Key's organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. The requesting Service Account's or API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation. @@ -51229,6 +55616,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization /api/atlas/v2/orgs/{orgId}: delete: @@ -51265,6 +55664,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization get: description: Returns one organization to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51298,6 +55708,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization patch: description: Updates one organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -51336,6 +55757,18 @@ paths: summary: Update One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization /api/atlas/v2/orgs/{orgId}/apiKeys: get: @@ -51370,6 +55803,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -51407,6 +55851,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: @@ -51443,6 +55899,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51482,6 +55949,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -51528,6 +56006,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: @@ -51569,6 +56059,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -51619,6 +56120,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: @@ -51665,6 +56178,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -51710,6 +56234,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: @@ -51746,6 +56281,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: @@ -51792,6 +56339,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/events: get: @@ -51864,6 +56422,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: @@ -51913,6 +56482,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent /api/atlas/v2/orgs/{orgId}/federationSettings: get: @@ -51945,6 +56525,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings /api/atlas/v2/orgs/{orgId}/groups: get: @@ -51995,6 +56586,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects /api/atlas/v2/orgs/{orgId}/invites: get: @@ -52046,6 +56648,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations patch: @@ -52090,6 +56703,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation post: @@ -52134,6 +56759,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: @@ -52176,6 +56813,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation get: @@ -52221,6 +56869,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation patch: @@ -52272,6 +56931,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById /api/atlas/v2/orgs/{orgId}/invoices: @@ -52364,6 +57035,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: @@ -52409,6 +57091,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: @@ -52453,6 +57146,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCsv --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search: get: @@ -52498,6 +57202,17 @@ paths: summary: Query lineItems of the specified invoiceId tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api queryLineItemsFromSingleInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice /api/atlas/v2/orgs/{orgId}/invoices/pending: get: @@ -52526,6 +57241,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: @@ -52560,6 +57286,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: @@ -52587,6 +57324,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken post: description: 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. @@ -52623,6 +57371,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken /api/atlas/v2/orgs/{orgId}/nonCompliantResources: get: @@ -52663,6 +57423,17 @@ paths: summary: Return all non-compliant resources tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getResourcesNonCompliant --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant /api/atlas/v2/orgs/{orgId}/resourcePolicies: get: @@ -52704,6 +57475,17 @@ paths: summary: Return all Atlas Resource Policies tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasResourcePolicies --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies post: description: Create one Atlas Resource Policy for an org. @@ -52749,6 +57531,18 @@ paths: summary: Create one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}: delete: @@ -52790,6 +57584,17 @@ paths: summary: Delete one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy get: description: Return one Atlas Resource Policy for an org. @@ -52834,6 +57639,17 @@ paths: summary: Return one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy patch: description: Update one Atlas Resource Policy for an org. @@ -52889,6 +57705,18 @@ paths: summary: Update one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies:validate: post: @@ -52935,6 +57763,18 @@ paths: summary: Validate one Atlas Resource Policy tags: - Resource Policies + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: @@ -52965,6 +57805,17 @@ paths: summary: List All Organization Service Accounts tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts post: description: Creates one Service Account for the specified Organization. @@ -53001,6 +57852,18 @@ paths: summary: Create one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}: delete: @@ -53035,6 +57898,17 @@ paths: summary: Delete one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount get: description: Returns the specified Service Account. @@ -53072,6 +57946,17 @@ paths: summary: Get one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount patch: description: Updates the specified Service Account in the specified Organization. @@ -53116,6 +58001,18 @@ paths: summary: Update one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList: get: @@ -53155,6 +58052,17 @@ paths: summary: Return All Access List entries for one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the organization. Resources require all API requests to originate from IP addresses on the API access list. @@ -53208,6 +58116,18 @@ paths: summary: Add Access List entries for one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -53252,6 +58172,17 @@ paths: summary: Remove One Access List entry from one Organization Service Account tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups: get: @@ -53293,6 +58224,17 @@ paths: summary: Return All Service Account Project assignments tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets: post: @@ -53338,6 +58280,18 @@ paths: summary: Create one Organization Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -53378,6 +58332,17 @@ paths: summary: Delete a Organization Service Account Secret tags: - Service Accounts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret /api/atlas/v2/orgs/{orgId}/settings: get: @@ -53408,6 +58373,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings patch: description: Updates the organization's settings. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53444,6 +58420,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings /api/atlas/v2/orgs/{orgId}/teams: get: @@ -53480,6 +58468,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53521,6 +58520,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: @@ -53559,6 +58570,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -53598,6 +58620,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -53646,6 +58679,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: @@ -53707,6 +58752,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers post: deprecated: true @@ -53761,6 +58817,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: @@ -53811,6 +58879,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser: @@ -53862,6 +58941,18 @@ paths: summary: Add One MongoDB Cloud User to One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser: post: @@ -53912,6 +59003,18 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeUserFromTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: @@ -53951,6 +59054,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName /api/atlas/v2/orgs/{orgId}/users: get: @@ -54004,6 +59118,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers post: description: |- @@ -54045,6 +59170,18 @@ paths: summary: Add One MongoDB Cloud User to One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: @@ -54090,6 +59227,17 @@ paths: summary: Remove One MongoDB Cloud User From One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser get: description: |- @@ -54131,6 +59279,17 @@ paths: summary: Return One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser patch: description: |- @@ -54182,6 +59341,18 @@ paths: summary: Update One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: @@ -54225,6 +59396,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: @@ -54280,6 +59463,18 @@ paths: summary: Add One Organization Role to One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole /api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole: post: @@ -54332,6 +59527,18 @@ paths: summary: Remove One Organization Role from One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole /api/atlas/v2/unauth/controlPlaneIPAddresses: get: @@ -54353,7 +59560,65 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: getApiVersions + parameters: + - $ref: '#/components/parameters/envelope' + - $ref: '#/components/parameters/itemsPerPage' + - $ref: '#/components/parameters/pageNum' + - $ref: '#/components/parameters/pretty' + - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). + in: query + name: env + schema: + enum: + - dev + - qa + - prod + - stage + type: string + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + application/vnd.atlas.2024-08-05+yaml: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + description: OK + "500": + $ref: '#/components/responses/internalServerError' + summary: Provides a list of versions for a given environment. + tags: + - OpenAPI + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/unauth/openapi/versions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiVersions --help /api/atlas/v2/users: post: deprecated: true @@ -54393,6 +59658,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: @@ -54434,6 +59711,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -54472,6 +59760,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername security: @@ -54549,6 +59848,8 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive + - description: Returns information about the MongoDB Atlas Specification. + name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. From 17823d497eafb20a5c7ed50d78f850c2ad132589 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:02:01 +0200 Subject: [PATCH 03/13] added sample --- .../internal/openapi/filter/code_sample.go | 32 ++- .../openapi/filter/code_sample_test.go | 241 ++++++++++++++++++ 2 files changed, 268 insertions(+), 5 deletions(-) create mode 100644 tools/cli/internal/openapi/filter/code_sample_test.go diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go index 27f91cfd86..c8555cacc1 100644 --- a/tools/cli/internal/openapi/filter/code_sample.go +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -18,6 +18,7 @@ import ( "time" "github.com/getkin/kin-openapi/openapi3" + "github.com/mongodb/openapi/tools/cli/internal/apiversion" ) const codeSampleExtensionName = "x-codeSamples" @@ -53,9 +54,9 @@ func (f *CodeSampleFilter) Apply() error { return nil } -func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opK string, op *openapi3.Operation) codeSample { +func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opK string) codeSample { source := "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + - "--header \"Accept: application/vnd.atlas." + f.metadata.targetVersion.Date().Format(time.DateOnly) + "+json\" \\\n " + "--header \"Accept: application/vnd.atlas." + apiVersion(f.metadata.targetVersion) + "+json\" \\\n " switch opK { case "GET": @@ -74,7 +75,20 @@ func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opK string, } } -func (f *CodeSampleFilter) newAtlasCliCodeSamplesForOperation(op *openapi3.Operation) codeSample { +func apiVersion(version *apiversion.APIVersion) string { + if version.IsStable() { + return version.Date().Format(time.DateOnly) + } + + if version.IsPreview() { + return "preview" + } + + // Upcoming api version + return version.Date().Format(time.DateOnly) + ".upcoming" +} + +func newAtlasCliCodeSamplesForOperation(op *openapi3.Operation) codeSample { return codeSample{ Lang: "cURL", Label: "Atlas CLI", @@ -83,9 +97,17 @@ func (f *CodeSampleFilter) newAtlasCliCodeSamplesForOperation(op *openapi3.Opera } func (f *CodeSampleFilter) includeCodeSamplesForOperation(pathName, opK string, op *openapi3.Operation) error { + if op == nil || opK == "" || pathName == "" { + return nil + } + + if op.Extensions == nil { + op.Extensions = map[string]any{} + } + op.Extensions[codeSampleExtensionName] = []codeSample{ - f.newCurlCodeSamplesForOperation(pathName, opK, op), - f.newAtlasCliCodeSamplesForOperation(op), + f.newCurlCodeSamplesForOperation(pathName, opK), + newAtlasCliCodeSamplesForOperation(op), } return nil } diff --git a/tools/cli/internal/openapi/filter/code_sample_test.go b/tools/cli/internal/openapi/filter/code_sample_test.go new file mode 100644 index 0000000000..8591f69a25 --- /dev/null +++ b/tools/cli/internal/openapi/filter/code_sample_test.go @@ -0,0 +1,241 @@ +// Copyright 2025 MongoDB Inc +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package filter + +import ( + "reflect" + "testing" + + "github.com/getkin/kin-openapi/openapi3" + "github.com/mongodb/openapi/tools/cli/internal/apiversion" + "github.com/stretchr/testify/require" +) + +func TestCodeSampleFilter(t *testing.T) { + testCases := []struct { + name string + oas *openapi3.T + version string + expectedOas *openapi3.T + }{ + { + name: "stable api", + version: "2025-01-01", + oas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.2025-01-01+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "2025-01-01", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + }, + }, + })), + }, + expectedOas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.2025-01-01+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "2025-01-01", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + "x-codeSamples": []codeSample{ + { + Lang: "cURL", + Label: "curl", + Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + + "--header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n " + "-X GET \"test?pretty=true\"", + }, + { + Lang: "cURL", + Label: "Atlas CLI", + Source: "atlas api testOperationID --help", + }, + }, + }, + }, + })), + }, + }, + { + name: "preview api", + version: "preview", + oas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.preview+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "preview", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + }, + }, + })), + }, + expectedOas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.preview+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "preview", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + "x-codeSamples": []codeSample{ + { + Lang: "cURL", + Label: "curl", + Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + + "--header \"Accept: application/vnd.atlas.preview+json\" \\\n " + "-X GET \"test?pretty=true\"", + }, + { + Lang: "cURL", + Label: "Atlas CLI", + Source: "atlas api testOperationID --help", + }, + }, + }, + }, + })), + }, + }, + { + name: "upcoming api", + version: "2025-01-01.upcoming", + oas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.2025-01-01.upcoming+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "2025-01-01.upcoming", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + }, + }, + })), + }, + expectedOas: &openapi3.T{ + Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Get: &openapi3.Operation{ + OperationID: "testOperationID", + Summary: "testSummary", + Responses: openapi3.NewResponses(openapi3.WithName("200", &openapi3.Response{ + Content: openapi3.Content{ + "application/vnd.atlas.2025-01-01.upcoming+json": { + Schema: &openapi3.SchemaRef{ + Ref: "#/components/schemas/PaginatedAppUserView", + }, + Extensions: map[string]any{ + "x-gen-version": "2025-01-01.upcoming", + }, + }, + }, + })), + Extensions: map[string]any{ + "x-sunset": "9999-12-31", + "x-codeSamples": []codeSample{ + { + Lang: "cURL", + Label: "curl", + Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + + "--header \"Accept: application/vnd.atlas.2025-01-01.upcoming+json\" \\\n " + "-X GET \"test?pretty=true\"", + }, + { + Lang: "cURL", + Label: "Atlas CLI", + Source: "atlas api testOperationID --help", + }, + }, + }, + }, + })), + }, + }, + } + + for _, tt := range testCases { + t.Run(tt.name, func(t *testing.T) { + oas := tt.oas + version, err := apiversion.New(apiversion.WithVersion(tt.version)) + require.NoError(t, err) + + filter := &CodeSampleFilter{ + oas: oas, + metadata: &Metadata{targetVersion: version, targetEnv: "dev"}, + } + + require.NoError(t, filter.Apply()) + if !reflect.DeepEqual(tt.expectedOas, tt.oas) { + t.Errorf("expected %v, got %v", tt.expectedOas, oas) + } + }) + } +} From d80f4df4df33268ae40cb5a8e6596e9363444d4a Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:03:09 +0200 Subject: [PATCH 04/13] Revert "add sample in openapi" This reverts commit e6437cff5e4e3326b92f922bef1b28fb4635c0f0. --- openapi/v2/openapi-2025-02-19.json | 5643 --------------------------- openapi/v2/openapi-2025-02-19.yaml | 5289 -------------------------- openapi/v2/openapi-2025-03-12.json | 5655 ---------------------------- openapi/v2/openapi-2025-03-12.yaml | 5301 -------------------------- 4 files changed, 21888 deletions(-) diff --git a/openapi/v2/openapi-2025-02-19.json b/openapi/v2/openapi-2025-02-19.json index 0cff8f767b..e96f38b0a1 100644 --- a/openapi/v2/openapi-2025-02-19.json +++ b/openapi/v2/openapi-2025-02-19.json @@ -142,10 +142,6 @@ "description": "Returns, adds, edits, or removes an online archive.", "name": "Online Archive" }, - { - "description": "Returns information about the MongoDB Atlas Specification.", - "name": "OpenAPI" - }, { "description": "Returns, adds, and edits organizational units in MongoDB Cloud.", "name": "Organizations" @@ -285,18 +281,6 @@ "tags": [ "Root" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSystemStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus" } }, @@ -344,18 +328,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurationMatchersFieldNames --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames" } }, @@ -406,18 +378,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClustersForAllProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects" } }, @@ -468,18 +428,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listEventTypes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes" } }, @@ -521,18 +469,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFederationApp --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp" } }, @@ -586,18 +522,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listConnectedOrgConfigs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs" } }, @@ -653,18 +577,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig" }, "get": { @@ -724,18 +636,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig" }, "patch": { @@ -803,18 +703,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig" } }, @@ -865,18 +753,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listRoleMappings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings" }, "post": { @@ -936,18 +812,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping" } }, @@ -1006,18 +870,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping" }, "get": { @@ -1080,18 +932,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping" }, "put": { @@ -1162,18 +1002,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping" } }, @@ -1262,18 +1090,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listIdentityProviders --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders" }, "post": { @@ -1330,18 +1146,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider" } }, @@ -1400,18 +1204,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider" }, "get": { @@ -1470,18 +1262,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider" }, "patch": { @@ -1548,18 +1328,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider" } }, @@ -1618,18 +1386,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api revokeJwksFromIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider" } }, @@ -1677,18 +1433,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIdentityProviderMetadata --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata" } }, @@ -1745,18 +1489,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects" }, "post": { @@ -1825,18 +1557,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject" } }, @@ -1898,18 +1618,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName" } }, @@ -1960,18 +1668,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject" }, "get": { @@ -2024,18 +1720,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject" }, "patch": { @@ -2095,18 +1779,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject" } }, @@ -2174,18 +1846,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addUserToProject --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject" } @@ -2247,18 +1907,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectIpAccessLists --help" - } - ], "x-xgen-changelog": { "2025-05-08": "Corrects an issue where the endpoint would include Atlas internal entries." }, @@ -2337,18 +1985,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectIpAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList" } }, @@ -2408,18 +2044,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectIpAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList" }, "get": { @@ -2483,18 +2107,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectIpList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList" } }, @@ -2559,18 +2171,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectIpAccessListStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus" } }, @@ -2627,18 +2227,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations" }, "post": { @@ -2698,18 +2286,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration" } }, @@ -2769,18 +2345,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration" }, "get": { @@ -2844,18 +2408,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration" }, "patch": { @@ -2927,18 +2479,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration" }, "put": { @@ -3013,18 +2553,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration" } }, @@ -3100,18 +2628,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertsByAlertConfigurationId --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId" } }, @@ -3184,18 +2700,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlerts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts" } }, @@ -3260,18 +2764,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAlert --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert" }, "patch": { @@ -3345,18 +2837,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api acknowledgeAlert --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert" } }, @@ -3431,18 +2911,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurationsByAlertId --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId" } }, @@ -3503,18 +2971,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectApiKeys --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys" }, "post": { @@ -3571,18 +3027,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey" } }, @@ -3644,18 +3088,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey" }, "patch": { @@ -3734,18 +3166,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateApiKeyRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles" }, "post": { @@ -3812,18 +3232,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey" } }, @@ -3874,18 +3282,6 @@ "tags": [ "Auditing" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAuditingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration" }, "patch": { @@ -3945,18 +3341,6 @@ "tags": [ "Auditing" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAuditingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration" } }, @@ -4007,18 +3391,6 @@ "tags": [ "AWS Clusters DNS" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAwsCustomDns --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns" }, "patch": { @@ -4075,18 +3447,6 @@ "tags": [ "AWS Clusters DNS" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleAwsCustomDns --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns" } }, @@ -4143,18 +3503,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listExportBuckets --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets" }, "post": { @@ -4291,18 +3639,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket" } }, @@ -4358,18 +3694,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket" }, "get": { @@ -4472,18 +3796,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket" } }, @@ -4531,18 +3843,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings" }, "get": { @@ -4591,18 +3891,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings" }, "put": { @@ -4672,18 +3960,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings" } }, @@ -4736,18 +4012,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCloudProviderAccessRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles" }, "post": { @@ -4808,18 +4072,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole" } }, @@ -4891,18 +4143,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deauthorizeCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole" } }, @@ -4963,18 +4203,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole" }, "patch": { @@ -5051,18 +4279,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api authorizeCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole" } }, @@ -5132,18 +4348,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClusters --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters" }, "post": { @@ -5331,18 +4535,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster" } }, @@ -5418,18 +4610,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCloudProviderRegions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions" } }, @@ -5501,18 +4681,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeSharedCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster" } }, @@ -5585,18 +4753,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeSharedClusterToServerless --help" - } - ], "x-sunset": "2025-02-05", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless" } @@ -5670,18 +4826,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster" }, "get": { @@ -5747,18 +4891,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster" }, "patch": { @@ -5832,18 +4964,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster" } }, @@ -5908,18 +5028,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api autoScalingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration" } }, @@ -5986,18 +5094,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listBackupExportJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs" }, "post": { @@ -6067,18 +5163,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createBackupExportJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob" } }, @@ -6144,18 +5228,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupExportJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob" } }, @@ -6222,18 +5294,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs" }, "post": { @@ -6306,18 +5366,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob" } }, @@ -6388,18 +5436,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api cancelBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob" }, "get": { @@ -6465,18 +5501,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob" } }, @@ -6534,18 +5558,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAllBackupSchedules --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules" }, "get": { @@ -6601,18 +5613,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule" }, "patch": { @@ -6682,18 +5682,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateBackupSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule" } }, @@ -6763,18 +5751,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listReplicaSetBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups" }, "post": { @@ -6844,18 +5820,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api takeSnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot" } }, @@ -6920,18 +5884,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteShardedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup" }, "get": { @@ -7003,18 +5955,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getShardedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup" } }, @@ -7075,18 +6015,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listShardedClusterBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups" } }, @@ -7154,18 +6082,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteReplicaSetBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup" }, "get": { @@ -7237,18 +6153,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getReplicaSetBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup" }, "patch": { @@ -7328,18 +6232,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateSnapshotRetention --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention" } }, @@ -7418,18 +6310,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadSharedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup" } }, @@ -7508,18 +6388,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createSharedClusterBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob" } }, @@ -7584,18 +6452,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSharedClusterBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs" } }, @@ -7670,18 +6526,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSharedClusterBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob" } }, @@ -7746,18 +6590,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSharedClusterBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups" } }, @@ -7832,18 +6664,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSharedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup" } }, @@ -7911,18 +6731,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacyBackupCheckpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints" } }, @@ -7997,18 +6805,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacyBackupCheckpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint" } }, @@ -8066,18 +6862,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPinnedNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces" }, "patch": { @@ -8155,18 +6939,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinNamespacesPatch --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch" }, "put": { @@ -8244,18 +7016,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinNamespacesPut --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut" } }, @@ -8324,18 +7084,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api unpinNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces" } }, @@ -8415,18 +7163,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated" } @@ -8514,18 +7250,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexesDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated" } @@ -8602,18 +7326,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated" }, @@ -8688,18 +7400,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated" }, @@ -8791,18 +7491,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated" } @@ -8868,18 +7556,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace" } }, @@ -8941,18 +7617,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAllCustomZoneMappings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings" }, "post": { @@ -9027,18 +7691,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCustomZoneMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping" } }, @@ -9119,18 +7771,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace" }, "post": { @@ -9208,18 +7848,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace" } }, @@ -9383,18 +8011,6 @@ "tags": [ "Rolling Index" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createRollingIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex" } }, @@ -9465,18 +8081,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOnlineArchives --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives" }, "post": { @@ -9553,18 +8157,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOnlineArchive --help" - } - ], "x-xgen-changelog": { "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" }, @@ -9668,18 +8260,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadOnlineArchiveQueryLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs" } }, @@ -9748,18 +8328,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive" }, "get": { @@ -9835,18 +8403,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive" }, "patch": { @@ -9933,18 +8489,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive" } }, @@ -10009,18 +8553,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api endOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation" }, "get": { @@ -10088,18 +8620,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation" }, "post": { @@ -10173,18 +8693,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api startOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation" } }, @@ -10239,18 +8747,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDropIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes" } }, @@ -10305,18 +8801,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSchemaAdvice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice" } }, @@ -10422,18 +8906,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClusterSuggestedIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes" } }, @@ -10501,18 +8973,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getClusterAdvancedConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration" }, "patch": { @@ -10587,18 +9047,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateClusterAdvancedConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration" } }, @@ -10653,18 +9101,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api testFailover --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover" } }, @@ -10748,18 +9184,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacyBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs" }, "post": { @@ -10834,18 +9258,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createLegacyBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob" } }, @@ -10925,18 +9337,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacyBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob" } }, @@ -10997,18 +9397,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment" }, "get": { @@ -11068,18 +9456,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchDeployment --help" - } - ], "x-sunset": "2026-03-12", "x-xgen-changelog": { "2025-03-12": "Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400." @@ -11156,18 +9532,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment" }, "post": { @@ -11240,18 +9604,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment" } }, @@ -11332,18 +9684,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexesCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster" }, "post": { @@ -11420,18 +9760,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex" } }, @@ -11530,18 +9858,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes" } }, @@ -11630,18 +9946,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName" }, "get": { @@ -11731,18 +10035,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName" }, "patch": { @@ -11846,18 +10138,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName" } }, @@ -11932,18 +10212,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex" }, "get": { @@ -12029,18 +10297,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex" }, "patch": { @@ -12130,18 +10386,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex" } }, @@ -12207,18 +10451,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacySnapshotSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule" }, "patch": { @@ -12293,18 +10525,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateLegacySnapshotSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule" } }, @@ -12390,18 +10610,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacySnapshots --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots" } }, @@ -12474,18 +10682,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLegacySnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot" }, "get": { @@ -12559,18 +10755,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacySnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot" }, "patch": { @@ -12652,18 +10836,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateLegacySnapshotRetention --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention" } }, @@ -12724,18 +10896,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getClusterStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus" } }, @@ -12813,18 +10973,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster" } }, @@ -12952,18 +11100,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements" } }, @@ -13036,18 +11172,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api grantMongoDbEmployeeAccess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess" } }, @@ -13119,18 +11243,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinFeatureCompatibilityVersion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion" } }, @@ -13191,18 +11303,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api revokeMongoDbEmployeeAccess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess" } }, @@ -13266,18 +11366,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api unpinFeatureCompatibilityVersion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion" } }, @@ -13379,18 +11467,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getHostLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs" } }, @@ -13435,18 +11511,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics" } }, @@ -13521,18 +11585,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringContainerByCloudProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider" }, "post": { @@ -13595,18 +11647,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer" } }, @@ -13663,18 +11703,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringContainers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers" } }, @@ -13736,18 +11764,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer" }, "get": { @@ -13807,18 +11823,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer" }, "patch": { @@ -13892,18 +11896,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer" } }, @@ -13957,18 +11949,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCustomDatabaseRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles" }, "post": { @@ -14031,18 +12011,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole" } }, @@ -14102,18 +12070,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole" }, "get": { @@ -14168,18 +12124,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole" }, "patch": { @@ -14251,18 +12195,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole" } }, @@ -14334,18 +12266,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFederatedDatabases --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases" }, "post": { @@ -14414,18 +12334,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase" } }, @@ -14479,18 +12387,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase" }, "get": { @@ -14549,18 +12445,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase" }, "patch": { @@ -14638,18 +12522,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase" } }, @@ -14717,18 +12589,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnFederatedDatabaseQueryLimits --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits" } }, @@ -14797,18 +12657,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit" }, "get": { @@ -14881,18 +12729,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnFederatedDatabaseQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit" }, "patch": { @@ -14973,18 +12809,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOneDataFederationQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit" } }, @@ -15065,18 +12889,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadFederatedDatabaseQueryLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs" } }, @@ -15133,18 +12945,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabaseUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers" }, "post": { @@ -15363,18 +13163,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser" } }, @@ -15443,18 +13231,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser" }, "get": { @@ -15524,18 +13300,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser" }, "patch": { @@ -15622,18 +13386,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser" } }, @@ -15702,18 +13454,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabaseUserCertificates --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates" }, "post": { @@ -15790,18 +13530,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDatabaseUserCertificate --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate" } }, @@ -15913,18 +13641,6 @@ "tags": [ "Access Tracking" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAccessLogsByClusterName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName" } }, @@ -16032,18 +13748,6 @@ "tags": [ "Access Tracking" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAccessLogsByHostname --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname" } }, @@ -16095,18 +13799,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRest --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest" }, "patch": { @@ -16169,18 +13861,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateEncryptionAtRest --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest" } }, @@ -16250,18 +13930,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider" }, "post": { @@ -16331,18 +13999,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint" } }, @@ -16410,18 +14066,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion" }, "get": { @@ -16493,18 +14137,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint" } }, @@ -16637,18 +14269,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectEvents --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents" } }, @@ -16722,18 +14342,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectEvent --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent" } }, @@ -16793,18 +14401,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexClusters --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters" }, "post": { @@ -16870,18 +14466,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster" } }, @@ -16942,18 +14526,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster" }, "get": { @@ -17018,18 +14590,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster" }, "patch": { @@ -17102,18 +14662,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster" } }, @@ -17188,18 +14736,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadFlexBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup" } }, @@ -17269,18 +14805,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs" }, "post": { @@ -17353,18 +14877,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFlexBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob" } }, @@ -17435,18 +14947,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob" } }, @@ -17516,18 +15016,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups" } }, @@ -17596,18 +15084,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup" } }, @@ -17675,18 +15151,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster" } }, @@ -17737,18 +15201,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listMetricTypes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes" } }, @@ -17848,18 +15300,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listIndexMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics" } }, @@ -17962,18 +15402,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIndexMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics" } }, @@ -18065,18 +15493,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements" } }, @@ -18136,18 +15552,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listThirdPartyIntegrations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations" } }, @@ -18217,18 +15621,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration" }, "get": { @@ -18302,18 +15694,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration" }, "post": { @@ -18407,18 +15787,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration" }, "put": { @@ -18512,18 +15880,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration" } }, @@ -18592,18 +15948,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectInvitations --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations" }, @@ -18665,18 +16009,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation" }, @@ -18735,18 +16067,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation" } @@ -18800,18 +16120,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation" }, @@ -18872,18 +16180,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation" }, @@ -18952,18 +16248,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectInvitationById --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById" } @@ -19015,18 +16299,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnAllIpAddresses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses" } }, @@ -19091,18 +16363,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectLimits --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits" } }, @@ -19178,18 +16438,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit" }, "get": { @@ -19269,18 +16517,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit" }, "patch": { @@ -19368,18 +16604,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api setProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit" } }, @@ -19446,18 +16670,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPushMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration" } }, @@ -19520,18 +16732,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api validateMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration" } }, @@ -19590,18 +16790,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getValidationStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus" } }, @@ -19652,18 +16840,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPushMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration" } }, @@ -19714,18 +16890,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api cutoverMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration" } }, @@ -19770,18 +16934,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api resetMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow" }, "get": { @@ -19830,18 +16982,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow" }, "patch": { @@ -19895,18 +17035,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow" } }, @@ -19951,18 +17079,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleMaintenanceAutoDefer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer" } }, @@ -20007,18 +17123,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deferMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow" } }, @@ -20069,18 +17173,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getManagedSlowMs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs" } }, @@ -20125,18 +17217,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableSlowOperationThresholding --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding" } }, @@ -20181,18 +17261,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api enableSlowOperationThresholding --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding" } }, @@ -20299,18 +17367,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectLtsVersions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions" } }, @@ -20387,18 +17443,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections" }, "post": { @@ -20465,18 +17509,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection" } }, @@ -20537,18 +17569,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection" }, "get": { @@ -20610,18 +17630,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection" }, "patch": { @@ -20694,18 +17702,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection" } }, @@ -20765,18 +17761,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelines --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines" }, @@ -20839,18 +17823,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline" } @@ -20904,18 +17876,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline" }, @@ -20979,18 +17939,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline" }, @@ -21062,18 +18010,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline" } @@ -21146,18 +18082,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineSchedules --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules" } @@ -21242,18 +18166,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineSnapshots --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots" } @@ -21316,18 +18228,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pausePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline" } @@ -21390,18 +18290,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api resumePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline" } @@ -21485,18 +18373,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineRuns --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns" } @@ -21570,18 +18446,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePipelineRunDataset --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset" }, @@ -21656,18 +18520,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPipelineRun --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun" } @@ -21741,18 +18593,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api triggerSnapshotIngestion --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion" } @@ -21819,18 +18659,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService" } }, @@ -21878,18 +18706,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getRegionalizedPrivateEndpointSetting --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting" }, "patch": { @@ -21949,18 +18765,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting" } }, @@ -22029,18 +18833,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessPrivateEndpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints" }, "post": { @@ -22111,18 +18903,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint" } }, @@ -22187,18 +18967,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint" }, "get": { @@ -22267,18 +19035,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint" }, "patch": { @@ -22355,18 +19111,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint" } }, @@ -22446,18 +19190,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPrivateEndpointServices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices" } }, @@ -22533,18 +19265,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService" }, "get": { @@ -22624,18 +19344,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService" } }, @@ -22731,18 +19439,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint" } }, @@ -22828,18 +19524,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint" }, "get": { @@ -22929,18 +19613,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint" } }, @@ -22996,18 +19668,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject" }, "patch": { @@ -23072,18 +19732,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disablePeering --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering" } }, @@ -23143,18 +19791,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDataFederationPrivateEndpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints" }, "post": { @@ -23214,18 +19850,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint" } }, @@ -23280,18 +19904,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint" }, "get": { @@ -23350,18 +19962,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint" } }, @@ -23418,18 +20018,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasProcesses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses" } }, @@ -23491,18 +20079,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess" } }, @@ -23559,18 +20135,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespacesForHost --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost" } }, @@ -23642,18 +20206,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabases --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases" } }, @@ -23724,18 +20276,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase" } }, @@ -23845,18 +20385,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabaseMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements" } }, @@ -23924,18 +20452,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDiskPartitions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions" } }, @@ -24003,18 +20519,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDiskMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements" } }, @@ -24136,18 +20640,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDiskMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements" } }, @@ -24378,18 +20870,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getHostMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements" } }, @@ -24469,18 +20949,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSlowQueryNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces" } }, @@ -24611,18 +21079,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSlowQueries --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries" } }, @@ -24742,18 +21198,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSuggestedIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes" } }, @@ -24858,18 +21302,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements" } }, @@ -24917,18 +21349,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration" }, "get": { @@ -24978,18 +21398,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration" }, "patch": { @@ -25047,18 +21455,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration" }, "post": { @@ -25116,18 +21512,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration" } }, @@ -25188,18 +21572,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api loadSampleDataset --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset" } }, @@ -25257,18 +21629,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSampleDatasetLoadStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus" } }, @@ -25332,18 +21692,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessInstances --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances" }, "post": { @@ -25413,18 +21761,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance" } }, @@ -25498,18 +21834,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs" }, "post": { @@ -25586,18 +21910,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob" } }, @@ -25675,18 +21987,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob" } }, @@ -25760,18 +22060,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups" } }, @@ -25847,18 +22135,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup" } }, @@ -25920,18 +22196,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessAutoIndexing --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing" }, "post": { @@ -25994,18 +22258,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api setServerlessAutoIndexing --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing" } }, @@ -26073,18 +22325,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance" }, "get": { @@ -26153,18 +22393,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance" }, "patch": { @@ -26241,18 +22469,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance" } }, @@ -26306,18 +22522,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectServiceAccounts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts" }, "post": { @@ -26378,18 +22582,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount" } }, @@ -26446,18 +22638,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount" }, "get": { @@ -26517,18 +22697,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount" }, "patch": { @@ -26599,18 +22767,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount" } }, @@ -26678,18 +22834,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList" }, "post": { @@ -26777,18 +22921,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList" } }, @@ -26858,18 +22990,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccountAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry" } }, @@ -26942,18 +23062,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret" } }, @@ -27018,18 +23126,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret" } }, @@ -27100,18 +23196,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount" } }, @@ -27162,18 +23246,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings" }, "patch": { @@ -27230,18 +23302,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings" } }, @@ -27295,18 +23355,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamInstances --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27369,18 +23417,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27446,18 +23482,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAccountDetails --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails" } }, @@ -27508,18 +23532,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getActiveVpcPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections" } }, @@ -27573,18 +23585,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPrivateLinkConnections --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27650,18 +23650,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27718,18 +23706,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27784,18 +23760,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27858,18 +23822,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getVpcPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections" } }, @@ -27920,18 +23872,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection" } }, @@ -27993,18 +23933,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api acceptVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection" } }, @@ -28055,18 +23983,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api rejectVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection" } }, @@ -28120,18 +24036,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28200,18 +24104,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28283,18 +24175,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28381,18 +24261,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadStreamTenantAuditLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs" } }, @@ -28455,18 +24323,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamConnections --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28541,18 +24397,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28621,18 +24465,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28699,18 +24531,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28794,18 +24614,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28882,18 +24690,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor" } }, @@ -28956,18 +24752,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor" }, "get": { @@ -29037,18 +24821,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor" }, "patch": { @@ -29126,18 +24898,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api modifyStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor" } }, @@ -29200,18 +24960,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api startStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor" } }, @@ -29274,18 +25022,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api stopStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor" } }, @@ -29358,18 +25094,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamProcessors --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors" } }, @@ -29431,18 +25155,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams:withSampleConnections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamInstanceWithSampleConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections" } }, @@ -29502,18 +25214,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectTeams --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams" }, "post": { @@ -29580,18 +25280,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addAllTeamsToProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject" } }, @@ -29650,18 +25338,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam" }, "patch": { @@ -29735,18 +25411,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateTeamRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles" } }, @@ -29798,18 +25462,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration" }, "patch": { @@ -29869,18 +25521,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api saveLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration" } }, @@ -29925,18 +25565,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableCustomerManagedX509 --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509" } }, @@ -29984,18 +25612,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration" } }, @@ -30057,18 +25673,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api verifyLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration" } }, @@ -30126,18 +25730,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLdapConfigurationStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus" } }, @@ -30234,18 +25826,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers" }, "post": { @@ -30308,18 +25888,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser" } }, @@ -30384,18 +25952,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser" }, "get": { @@ -30454,18 +26010,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser" } }, @@ -30535,18 +26079,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectRoles --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles" } @@ -30626,18 +26158,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:addRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole" } }, @@ -30716,18 +26236,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole" } }, @@ -30783,70 +26291,9 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api migrateProjectToAnotherOrg --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg" } }, - "/api/atlas/v2/openapi/info": { - "get": { - "description": "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}", - "operationId": "getOpenApiInfo", - "parameters": [ - { - "$ref": "#/components/parameters/pretty" - } - ], - "responses": { - "200": { - "content": { - "application/vnd.atlas.2024-08-05+json": { - "schema": { - "$ref": "#/components/schemas/OpenApiInfo" - }, - "x-xgen-version": "2024-08-05" - } - }, - "description": "OK" - }, - "401": { - "$ref": "#/components/responses/unauthorized" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internalServerError" - } - }, - "summary": "Return general information about the MongoDB Atlas Administration API OpenAPI Specification.", - "tags": [ - "OpenAPI" - ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/openapi/info?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOpenApiInfo --help" - } - ] - } - }, "/api/atlas/v2/orgs": { "get": { "description": "Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role.", @@ -30911,18 +26358,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations" }, "post": { @@ -30989,18 +26424,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization" } }, @@ -31051,18 +26474,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization" }, "get": { @@ -31117,18 +26528,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization" }, "patch": { @@ -31191,18 +26590,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization" } }, @@ -31263,18 +26650,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listApiKeys --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys" }, "post": { @@ -31335,18 +26710,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey" } }, @@ -31405,18 +26768,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey" }, "get": { @@ -31479,18 +26830,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey" }, "patch": { @@ -31564,18 +26903,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey" } }, @@ -31646,18 +26973,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listApiKeyAccessListsEntries --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries" }, "post": { @@ -31742,18 +27057,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createApiKeyAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList" } }, @@ -31826,18 +27129,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteApiKeyAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry" }, "get": { @@ -31908,18 +27199,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiKeyAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList" } }, @@ -31978,18 +27257,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCostExplorerQueryProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess" } }, @@ -32061,18 +27328,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCostExplorerQueryProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess" } }, @@ -32181,18 +27436,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationEvents --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents" } }, @@ -32266,18 +27509,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationEvent --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent" } }, @@ -32331,18 +27562,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFederationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings" } }, @@ -32415,18 +27634,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects" } }, @@ -32502,18 +27709,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationInvitations --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations" }, @@ -32579,18 +27774,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation" }, @@ -32656,18 +27839,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation" } @@ -32730,18 +27901,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation" }, @@ -32806,18 +27965,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation" }, @@ -32893,18 +28040,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationInvitationById --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById" } @@ -33043,18 +28178,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listInvoices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices" } }, @@ -33102,18 +28225,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPendingInvoices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices" } }, @@ -33183,18 +28294,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getInvoice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice" } }, @@ -33253,18 +28352,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadInvoiceCsv --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv" } }, @@ -33339,18 +28426,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api queryLineItemsFromSingleInvoice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice" } }, @@ -33407,18 +28482,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSourceProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects" } }, @@ -33463,18 +28526,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLinkToken --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken" }, "post": { @@ -33534,18 +28585,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createLinkToken --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken" } }, @@ -33610,18 +28649,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getResourcesNonCompliant --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant" } }, @@ -33687,18 +28714,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasResourcePolicies --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies" }, "post": { @@ -33771,18 +28786,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy" } }, @@ -33847,18 +28850,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy" }, "get": { @@ -33927,18 +28918,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy" }, "patch": { @@ -34024,18 +29003,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy" } }, @@ -34110,18 +29077,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api validateAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy" } }, @@ -34175,18 +29130,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccounts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts" }, "post": { @@ -34246,18 +29189,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount" } }, @@ -34313,18 +29244,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount" }, "get": { @@ -34384,18 +29303,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount" }, "patch": { @@ -34466,18 +29373,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount" } }, @@ -34545,18 +29440,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList" }, "post": { @@ -34644,18 +29527,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList" } }, @@ -34725,18 +29596,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccountAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry" } }, @@ -34805,18 +29664,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccountProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects" } }, @@ -34889,18 +29736,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret" } }, @@ -34965,18 +29800,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret" } }, @@ -35027,18 +29850,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings" }, "patch": { @@ -35098,18 +29909,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings" } }, @@ -35173,18 +29972,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationTeams --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams" }, "post": { @@ -35251,18 +30038,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam" } }, @@ -35326,18 +30101,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getTeamByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName" } }, @@ -35399,18 +30162,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam" }, "get": { @@ -35473,18 +30224,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getTeamById --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById" }, "patch": { @@ -35561,18 +30300,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api renameTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam" } }, @@ -35664,18 +30391,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listTeamUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers" }, "post": { @@ -35756,18 +30471,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addTeamUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser" } @@ -35841,18 +30544,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeTeamUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser" } @@ -35929,18 +30620,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addUserToTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam" } }, @@ -36016,18 +30695,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeUserFromTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam" } }, @@ -36109,18 +30776,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers" }, "post": { @@ -36183,18 +30838,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser" } }, @@ -36259,18 +30902,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser" }, "get": { @@ -36329,18 +30960,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser" }, "patch": { @@ -36414,18 +31033,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser" } }, @@ -36495,18 +31102,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationRoles --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles" } @@ -36586,18 +31181,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addOrganizationRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole" } }, @@ -36673,18 +31256,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeOrganizationRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole" } }, @@ -36718,93 +31289,9 @@ "tags": [ "Root" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnAllControlPlaneIpAddresses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses" } }, - "/api/atlas/v2/unauth/openapi/versions": { - "get": { - "description": "API that provides a list of available versionsfor a given environment.", - "operationId": "getApiVersions", - "parameters": [ - { - "$ref": "#/components/parameters/envelope" - }, - { - "$ref": "#/components/parameters/itemsPerPage" - }, - { - "$ref": "#/components/parameters/pageNum" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "description": "The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com).", - "in": "query", - "name": "env", - "schema": { - "enum": [ - "dev", - "qa", - "prod", - "stage" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/vnd.atlas.2024-08-05+json": { - "schema": { - "$ref": "#/components/schemas/PaginatedApiVersions" - }, - "x-xgen-version": "2024-08-05" - }, - "application/vnd.atlas.2024-08-05+yaml": { - "schema": { - "$ref": "#/components/schemas/PaginatedApiVersions" - }, - "x-xgen-version": "2024-08-05" - } - }, - "description": "OK" - }, - "500": { - "$ref": "#/components/responses/internalServerError" - } - }, - "summary": "Provides a list of versions for a given environment.", - "tags": [ - "OpenAPI" - ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/unauth/openapi/versions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiVersions --help" - } - ] - } - }, "/api/atlas/v2/users": { "post": { "deprecated": true, @@ -36858,18 +31345,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser" } @@ -36930,18 +31405,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getUserByUsername --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername" } @@ -37005,18 +31468,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-02-19+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser" } } @@ -40574,15 +35025,6 @@ "title": "API User Events", "type": "object" }, - "ApiVersion": { - "properties": { - "version": { - "description": "Object representing a version of the Atlas Admin API.", - "type": "string" - } - }, - "type": "object" - }, "AppServiceAlertConfigViewForNdsGroup": { "description": "App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified.", "properties": { @@ -62374,35 +56816,6 @@ "type": "object", "writeOnly": true }, - "Info": { - "description": "Information about the MongoDB Atlas Administration API OpenAPI Specification.", - "properties": { - "description": { - "description": "Description of the MongoDB Atlas Administration API.", - "example": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.", - "type": "string" - }, - "license": { - "$ref": "#/components/schemas/License" - }, - "termsOfService": { - "description": "Terms of Service URL.", - "example": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", - "type": "string" - }, - "title": { - "description": "Title of the MongoDB Atlas Administration API.", - "example": "MongoDB Atlas Administration API.", - "type": "string" - }, - "version": { - "description": "Version of the MongoDB Atlas Administration API.", - "example": "2.0", - "type": "string" - } - }, - "type": "object" - }, "IngestionPipelineRun": { "description": "Run details of a Data Lake Pipeline.", "properties": { @@ -64140,22 +58553,6 @@ ], "type": "object" }, - "License": { - "description": "License information of the MongoDB Atlas Administration API.", - "properties": { - "name": { - "description": "Name of the license.", - "example": "CC BY-NC-SA 3.0 US", - "type": "string" - }, - "url": { - "description": "URL of the license.", - "example": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/", - "type": "string" - } - }, - "type": "object" - }, "Link": { "properties": { "href": { @@ -66783,14 +61180,6 @@ "title": "Online Archive Schedule", "type": "object" }, - "OpenApiInfo": { - "properties": { - "info": { - "$ref": "#/components/schemas/Info" - } - }, - "type": "object" - }, "Operator": { "description": "Comparison operator to apply when checking the current metric value.", "enum": [ @@ -68676,38 +63065,6 @@ }, "type": "object" }, - "PaginatedApiVersions": { - "properties": { - "links": { - "description": "List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.", - "externalDocs": { - "description": "Web Linking Specification (RFC 5988)", - "url": "https://datatracker.ietf.org/doc/html/rfc5988" - }, - "items": { - "$ref": "#/components/schemas/Link" - }, - "readOnly": true, - "type": "array" - }, - "results": { - "description": "List of returned documents that MongoDB Cloud provides when completing this request.", - "items": { - "$ref": "#/components/schemas/ApiVersion" - }, - "readOnly": true, - "type": "array" - }, - "totalCount": { - "description": "Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact.", - "format": "int32", - "minimum": 0, - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, "PaginatedAtlasGroupView": { "properties": { "links": { diff --git a/openapi/v2/openapi-2025-02-19.yaml b/openapi/v2/openapi-2025-02-19.yaml index 10311d7dee..8c88361b42 100644 --- a/openapi/v2/openapi-2025-02-19.yaml +++ b/openapi/v2/openapi-2025-02-19.yaml @@ -2847,12 +2847,6 @@ components: - id title: API User Events type: object - ApiVersion: - properties: - version: - description: Object representing a version of the Atlas Admin API. - type: string - type: object AppServiceAlertConfigViewForNdsGroup: description: App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified. properties: @@ -20487,28 +20481,6 @@ components: type: object type: object writeOnly: true - Info: - description: Information about the MongoDB Atlas Administration API OpenAPI Specification. - properties: - description: - description: Description of the MongoDB Atlas Administration API. - example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. - type: string - license: - $ref: '#/components/schemas/License' - termsOfService: - description: Terms of Service URL. - example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions - type: string - title: - description: Title of the MongoDB Atlas Administration API. - example: MongoDB Atlas Administration API. - type: string - version: - description: Version of the MongoDB Atlas Administration API. - example: "2.0" - type: string - type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -22027,18 +21999,6 @@ components: - eventTypeName - notifications type: object - License: - description: License information of the MongoDB Atlas Administration API. - properties: - name: - description: Name of the license. - example: CC BY-NC-SA 3.0 US - type: string - url: - description: URL of the license. - example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ - type: string - type: object Link: properties: href: @@ -24186,11 +24146,6 @@ components: - type title: Online Archive Schedule type: object - OpenApiInfo: - properties: - info: - $ref: '#/components/schemas/Info' - type: object Operator: description: Comparison operator to apply when checking the current metric value. enum: @@ -25692,30 +25647,6 @@ components: readOnly: true type: integer type: object - PaginatedApiVersions: - properties: - links: - description: List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. - externalDocs: - description: Web Linking Specification (RFC 5988) - url: https://datatracker.ietf.org/doc/html/rfc5988 - items: - $ref: '#/components/schemas/Link' - readOnly: true - type: array - results: - description: List of returned documents that MongoDB Cloud provides when completing this request. - items: - $ref: '#/components/schemas/ApiVersion' - readOnly: true - type: array - totalCount: - description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. - format: int32 - minimum: 0 - readOnly: true - type: integer - type: object PaginatedAtlasGroupView: properties: links: @@ -34477,17 +34408,6 @@ paths: summary: Return the status of this MongoDB application tags: - Root - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSystemStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus /api/atlas/v2/alertConfigs/matchers/fieldNames: get: @@ -34517,17 +34437,6 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurationMatchersFieldNames --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames /api/atlas/v2/clusters: get: @@ -34556,17 +34465,6 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClustersForAllProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects /api/atlas/v2/eventTypes: get: @@ -34595,17 +34493,6 @@ paths: summary: List All Possible Event Types tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listEventTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes /api/atlas/v2/federationSettings/{federationSettingsId}: delete: @@ -34632,17 +34519,6 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFederationApp --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: @@ -34674,17 +34550,6 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listConnectedOrgConfigs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: @@ -34720,17 +34585,6 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in the connected org. @@ -34769,17 +34623,6 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." @@ -34823,18 +34666,6 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: @@ -34865,17 +34696,6 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listRoleMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34912,18 +34732,6 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: @@ -34960,17 +34768,6 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -35010,17 +34807,6 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -35065,18 +34851,6 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: @@ -35132,17 +34906,6 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listIdentityProviders --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders post: description: |- @@ -35181,18 +34944,6 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: @@ -35230,17 +34981,6 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' @@ -35278,17 +35018,6 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider patch: description: |- @@ -35334,18 +35063,6 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: @@ -35383,17 +35100,6 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - - label: Atlas CLI - lang: cURL - source: atlas api revokeJwksFromIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -35423,17 +35129,6 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIdentityProviderMetadata --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata /api/atlas/v2/groups: get: @@ -35466,17 +35161,6 @@ paths: summary: Return All Projects tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -35520,18 +35204,6 @@ paths: summary: Create One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject /api/atlas/v2/groups/{groupId}: delete: @@ -35562,17 +35234,6 @@ paths: summary: Remove One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -35605,17 +35266,6 @@ paths: summary: Return One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -35652,18 +35302,6 @@ paths: summary: Update One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject /api/atlas/v2/groups/{groupId}/access: post: @@ -35705,18 +35343,6 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addUserToProject --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject /api/atlas/v2/groups/{groupId}/accessList: @@ -35752,17 +35378,6 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectIpAccessLists --help x-xgen-changelog: "2025-05-08": Corrects an issue where the endpoint would include Atlas internal entries. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists @@ -35809,18 +35424,6 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: @@ -35863,17 +35466,6 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. @@ -35914,17 +35506,6 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectIpList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: @@ -35965,17 +35546,6 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectIpAccessListStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus /api/atlas/v2/groups/{groupId}/alertConfigs: get: @@ -36010,17 +35580,6 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations post: description: |- @@ -36060,18 +35619,6 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: @@ -36112,17 +35659,6 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration get: description: |- @@ -36166,17 +35702,6 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration patch: description: |- @@ -36227,18 +35752,6 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration put: description: |- @@ -36291,18 +35804,6 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: @@ -36351,17 +35852,6 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertsByAlertConfigurationId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId /api/atlas/v2/groups/{groupId}/alerts: get: @@ -36407,17 +35897,6 @@ paths: summary: Return All Alerts from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlerts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: @@ -36461,17 +35940,6 @@ paths: summary: Return One Alert from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert patch: description: |- @@ -36521,18 +35989,6 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api acknowledgeAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -36580,17 +36036,6 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurationsByAlertId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId /api/atlas/v2/groups/{groupId}/apiKeys: get: @@ -36625,17 +36070,6 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36670,18 +36104,6 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: @@ -36720,17 +36142,6 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. @@ -36777,18 +36188,6 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateApiKeyRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36830,18 +36229,6 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey /api/atlas/v2/groups/{groupId}/auditLog: get: @@ -36872,17 +36259,6 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration patch: description: 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 Service Account or API Key must have the Project Owner role. This feature isn't available for `M0`, `M2`, `M5`, or serverless clusters. @@ -36919,18 +36295,6 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: @@ -36961,17 +36325,6 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns patch: description: 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 Service Account or API Key must have the Project Atlas Admin role. @@ -37006,18 +36359,6 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: @@ -37049,17 +36390,6 @@ paths: summary: Return All Snapshot Export Buckets tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listExportBuckets --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets post: description: 'Creates a Snapshot Export Bucket for an AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. Once created, an snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37150,18 +36480,6 @@ paths: summary: Create One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -37197,17 +36515,6 @@ paths: summary: Delete One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket get: description: 'Returns one Export Bucket associated with the specified Project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -37275,17 +36582,6 @@ paths: summary: Return One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: delete: @@ -37314,17 +36610,6 @@ paths: summary: Disable the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" - - label: Atlas CLI - lang: cURL - source: atlas api disableDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings get: description: 'Returns the Backup Compliance Policy settings with the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37354,17 +36639,6 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings put: description: 'Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37408,18 +36682,6 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: @@ -37452,17 +36714,6 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCloudProviderAccessRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: description: 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 Service Account or API Key must have the Project Owner role. @@ -37500,18 +36751,6 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: @@ -37557,17 +36796,6 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - - label: Atlas CLI - lang: cURL - source: atlas api deauthorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: @@ -37605,17 +36833,6 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. This is not required for GCP service account access. @@ -37664,18 +36881,6 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api authorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/clusters: get: @@ -37719,17 +36924,6 @@ paths: summary: Return All Clusters in One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters post: description: |- @@ -37858,18 +37052,6 @@ paths: summary: Create One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -37918,17 +37100,6 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster get: description: |- @@ -37973,17 +37144,6 @@ paths: summary: Return One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster patch: description: '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 Service Account or API Key must have the Project Owner role. For all other updates, the requesting Service Account or 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}' @@ -38030,18 +37190,6 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -38129,17 +37277,6 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: @@ -38187,17 +37324,6 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespacesForCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration: get: @@ -38238,17 +37364,6 @@ paths: summary: Get cluster internal configuration of sharded cluster AutoScaling operations tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api autoScalingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -38287,17 +37402,6 @@ paths: summary: Return All Snapshot Export Jobs tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listBackupExportJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs post: description: Exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket. To use this resource, the requesting Service Account or API Key must have the Project Atlas Admin role. @@ -38342,18 +37446,6 @@ paths: summary: Create One Snapshot Export Job tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: @@ -38396,17 +37488,6 @@ paths: summary: Return One Snapshot Export Job tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: @@ -38445,17 +37526,6 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs post: description: |- @@ -38504,18 +37574,6 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: @@ -38560,17 +37618,6 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - - label: Atlas CLI - lang: cURL - source: atlas api cancelBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob get: description: Returns one cloud backup restore job for one cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -38612,17 +37659,6 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: @@ -38659,17 +37695,6 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAllBackupSchedules --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules get: description: '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 Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -38704,17 +37729,6 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule patch: description: '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 Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -38761,18 +37775,6 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -38813,17 +37815,6 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listReplicaSetBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups post: description: |- @@ -38870,18 +37861,6 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api takeSnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: @@ -38924,17 +37903,6 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -38980,17 +37948,6 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -39041,18 +37998,6 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateSnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: @@ -39093,17 +38038,6 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup get: description: Returns one snapshot of one sharded cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -39149,17 +38083,6 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: @@ -39197,17 +38120,6 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listShardedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: @@ -39260,18 +38172,6 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api downloadSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: @@ -39324,18 +38224,6 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: @@ -39379,17 +38267,6 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSharedClusterBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: @@ -39440,17 +38317,6 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: @@ -39494,17 +38360,6 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSharedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: @@ -39555,17 +38410,6 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: @@ -39605,17 +38449,6 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacyBackupCheckpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: @@ -39663,17 +38496,6 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacyBackupCheckpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: @@ -39710,17 +38532,6 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPinnedNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster. @@ -39770,18 +38581,6 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinNamespacesPatch --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch put: description: 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. @@ -39831,18 +38630,6 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinNamespacesPut --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: @@ -39886,18 +38673,6 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api unpinNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: @@ -39948,18 +38723,6 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: @@ -40016,17 +38779,6 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: @@ -40076,17 +38828,6 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated get: @@ -40135,17 +38876,6 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated patch: @@ -40205,18 +38935,6 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: @@ -40258,17 +38976,6 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -40307,17 +39014,6 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAllCustomZoneMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -40365,18 +39061,6 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCustomZoneMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -40427,17 +39111,6 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - - label: Atlas CLI - lang: cURL - source: atlas api deleteManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -40487,18 +39160,6 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -40609,18 +39270,6 @@ paths: summary: Create One Rolling Index tags: - Rolling Index - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createRollingIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: @@ -40662,17 +39311,6 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOnlineArchives --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -40721,18 +39359,6 @@ paths: summary: Create One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOnlineArchive --help x-xgen-changelog: "2023-08-02": If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/createOnlineArchive @@ -40778,17 +39404,6 @@ paths: summary: Remove One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -40837,17 +39452,6 @@ paths: summary: Return One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -40903,18 +39507,6 @@ paths: summary: Update One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: @@ -40982,17 +39574,6 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadOnlineArchiveQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: @@ -41033,17 +39614,6 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - - label: Atlas CLI - lang: cURL - source: atlas api endOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation get: description: Returns one outage simulation for one cluster. @@ -41087,17 +39657,6 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation post: description: Starts a cluster outage simulation. @@ -41144,18 +39703,6 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api startOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions: get: @@ -41191,17 +39738,6 @@ paths: summary: Returns Suggested Indexes to Drop tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDropIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice: get: @@ -41237,17 +39773,6 @@ paths: summary: Return Schema Advice tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSchemaAdvice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes: get: @@ -41326,17 +39851,6 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClusterSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: @@ -41379,17 +39893,6 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration patch: description: '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 Service Account or 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}' @@ -41437,18 +39940,6 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -41482,18 +39973,6 @@ paths: summary: Test Failover for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api testFailover --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: @@ -41547,17 +40026,6 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacyBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs post: deprecated: true @@ -41605,18 +40073,6 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: @@ -41671,17 +40127,6 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: @@ -41719,17 +40164,6 @@ paths: summary: Delete Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment get: deprecated: true @@ -41767,17 +40201,6 @@ paths: summary: Return Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchDeployment --help x-sunset: "2026-03-12" x-xgen-changelog: "2025-03-12": Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400. @@ -41826,18 +40249,6 @@ paths: summary: Update Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment post: description: Creates Search Nodes for the specified cluster. @@ -41883,18 +40294,6 @@ paths: summary: Create Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: @@ -41945,17 +40344,6 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexesCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster post: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42004,18 +40392,6 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: @@ -42078,17 +40454,6 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: @@ -42145,17 +40510,6 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -42213,17 +40567,6 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42290,18 +40633,6 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: @@ -42349,17 +40680,6 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -42414,17 +40734,6 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42482,18 +40791,6 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -42538,17 +40835,6 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule patch: deprecated: true @@ -42599,18 +40885,6 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: @@ -42663,17 +40937,6 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacySnapshots --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: @@ -42720,17 +40983,6 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot get: deprecated: true @@ -42778,17 +41030,6 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot patch: deprecated: true @@ -42841,18 +41082,6 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateLegacySnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: @@ -42890,17 +41119,6 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getClusterStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess: post: @@ -42946,18 +41164,6 @@ paths: summary: Grant MongoDB employee cluster access for one cluster. tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api grantMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: @@ -43002,18 +41208,6 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess: post: @@ -43051,18 +41245,6 @@ paths: summary: Revoke granted MongoDB employee cluster access for one cluster. tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api revokeMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: @@ -43102,18 +41284,6 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api unpinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: @@ -43182,17 +41352,6 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getHostLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: @@ -43236,17 +41395,6 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCloudProviderRegions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: @@ -43291,18 +41439,6 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeSharedCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: @@ -43351,18 +41487,6 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeSharedClusterToServerless --help x-sunset: "2025-02-05" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless /api/atlas/v2/groups/{groupId}/collStats/metrics: @@ -43391,17 +41515,6 @@ paths: summary: Return all metric names tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics /api/atlas/v2/groups/{groupId}/containers: get: @@ -43446,17 +41559,6 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringContainerByCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43495,18 +41597,6 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: @@ -43545,17 +41635,6 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43593,17 +41672,6 @@ paths: summary: Return One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43650,18 +41718,6 @@ paths: summary: Update One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer /api/atlas/v2/groups/{groupId}/containers/all: get: @@ -43693,17 +41749,6 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringContainers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: @@ -43736,17 +41781,6 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCustomDatabaseRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles post: description: Creates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -43785,18 +41819,6 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: @@ -43833,17 +41855,6 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole get: description: Returns one custom role for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43877,17 +41888,6 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole patch: description: Updates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -43932,18 +41932,6 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole /api/atlas/v2/groups/{groupId}/dataFederation: get: @@ -43989,17 +41977,6 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFederatedDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases post: description: Creates one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles. @@ -44042,18 +42019,6 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: @@ -44086,17 +42051,6 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase get: description: Returns the details of one federated database instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -44134,17 +42088,6 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase patch: description: Updates the details of one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or higher role. @@ -44193,18 +42136,6 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: @@ -44247,17 +42178,6 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnFederatedDatabaseQueryLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: @@ -44310,17 +42230,6 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOneDataFederationInstanceQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit get: description: Returns the details of one query limit for the specified federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44375,17 +42284,6 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnFederatedDatabaseQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit patch: description: Creates or updates one query limit for one federated database instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -44446,18 +42344,6 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOneDataFederationQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: @@ -44512,17 +42398,6 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadFederatedDatabaseQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs /api/atlas/v2/groups/{groupId}/databaseUsers: get: @@ -44554,17 +42429,6 @@ paths: summary: Return All Database Users from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabaseUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers post: description: 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 Service Account or 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. @@ -44697,18 +42561,6 @@ paths: summary: Create One Database User in One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: @@ -44765,17 +42617,6 @@ paths: summary: Remove One Database User from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser get: description: Returns one database user that belong to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44833,17 +42674,6 @@ paths: summary: Return One Database User from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Charts Admin role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -44912,18 +42742,6 @@ paths: summary: Update One Database User in One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: @@ -44963,17 +42781,6 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabaseUserCertificates --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates post: description: |- @@ -45027,18 +42834,6 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDatabaseUserCertificate --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: @@ -45111,17 +42906,6 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAccessLogsByClusterName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: @@ -45191,17 +42975,6 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAccessLogsByHostname --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: @@ -45236,17 +43009,6 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest patch: description: |- @@ -45297,18 +43059,6 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: @@ -45349,17 +43099,6 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. @@ -45403,18 +43142,6 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: @@ -45457,17 +43184,6 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -45513,17 +43229,6 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/events: get: @@ -45615,17 +43320,6 @@ paths: summary: Return All Events from One Project tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents /api/atlas/v2/groups/{groupId}/events/{eventId}: get: @@ -45675,17 +43369,6 @@ paths: summary: Return One Event from One Project tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent /api/atlas/v2/groups/{groupId}/flexClusters: get: @@ -45719,17 +43402,6 @@ paths: summary: Return All Flex Clusters from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters post: description: Creates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45770,18 +43442,6 @@ paths: summary: Create One Flex Cluster in One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}: delete: @@ -45819,17 +43479,6 @@ paths: summary: Remove One Flex Cluster from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster get: description: Returns details for one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -45870,17 +43519,6 @@ paths: summary: Return One Flex Cluster from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster patch: description: Updates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45926,18 +43564,6 @@ paths: summary: Update One Flex Cluster in One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download: post: @@ -45984,18 +43610,6 @@ paths: summary: Download One Flex Cluster Snapshot tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api downloadFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs: get: @@ -46036,17 +43650,6 @@ paths: summary: Return All Restore Jobs for One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs post: description: Restores one snapshot of one flex cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -46092,18 +43695,6 @@ paths: summary: Restore One Snapshot of One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}: get: @@ -46148,17 +43739,6 @@ paths: summary: Return One Restore Job for One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots: get: @@ -46199,17 +43779,6 @@ paths: summary: Return All Snapshots of One Flex Cluster tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}: get: @@ -46254,17 +43823,6 @@ paths: summary: Return One Snapshot of One Flex Cluster tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade: post: @@ -46306,18 +43864,6 @@ paths: summary: Upgrade One Flex Cluster tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: @@ -46348,17 +43894,6 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listMetricTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: @@ -46421,17 +43956,6 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: @@ -46493,17 +44017,6 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: @@ -46562,17 +44075,6 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements /api/atlas/v2/groups/{groupId}/integrations: get: @@ -46606,17 +44108,6 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listThirdPartyIntegrations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: @@ -46663,17 +44154,6 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46723,17 +44203,6 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46793,18 +44262,6 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46864,18 +44321,6 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration /api/atlas/v2/groups/{groupId}/invites: get: @@ -46919,17 +44364,6 @@ paths: summary: Return All Project Invitations tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations patch: @@ -46968,18 +44402,6 @@ paths: summary: Update One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation post: @@ -47016,18 +44438,6 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation /api/atlas/v2/groups/{groupId}/invites/{invitationId}: @@ -47062,17 +44472,6 @@ paths: summary: Cancel One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation get: @@ -47111,17 +44510,6 @@ paths: summary: Return One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation patch: @@ -47166,18 +44554,6 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById /api/atlas/v2/groups/{groupId}/ipAddresses: @@ -47209,17 +44585,6 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnAllIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses /api/atlas/v2/groups/{groupId}/limits: get: @@ -47260,17 +44625,6 @@ paths: summary: Return All Limits for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: @@ -47339,17 +44693,6 @@ paths: summary: Remove One Project Limit tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit get: description: Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -47421,17 +44764,6 @@ paths: summary: Return One Limit for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit patch: description: |- @@ -47511,18 +44843,6 @@ paths: summary: Set One Project Limit tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api setProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit /api/atlas/v2/groups/{groupId}/liveMigrations: post: @@ -47571,18 +44891,6 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -47612,17 +44920,6 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: @@ -47652,18 +44949,6 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api cutoverMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: @@ -47702,18 +44987,6 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api validateMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -47751,17 +45024,6 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getValidationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: @@ -47789,17 +45051,6 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" - - label: Atlas CLI - lang: cURL - source: atlas api resetMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -47829,17 +45080,6 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. Updating the maintenance window will reset any maintenance deferrals for this project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -47873,18 +45113,6 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: @@ -47912,18 +45140,6 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleMaintenanceAutoDefer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: @@ -47951,18 +45167,6 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api deferMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow /api/atlas/v2/groups/{groupId}/managedSlowMs: get: @@ -47993,17 +45197,6 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getManagedSlowMs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: @@ -48030,17 +45223,6 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - - label: Atlas CLI - lang: cURL - source: atlas api disableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: @@ -48067,18 +45249,6 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api enableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: @@ -48147,17 +45317,6 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectLtsVersions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions /api/atlas/v2/groups/{groupId}/peers: get: @@ -48203,17 +45362,6 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. @@ -48255,18 +45403,6 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: @@ -48304,17 +45440,6 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -48353,17 +45478,6 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -48409,18 +45523,6 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection /api/atlas/v2/groups/{groupId}/pipelines: get: @@ -48459,17 +45561,6 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelines --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines post: @@ -48510,18 +45601,6 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: @@ -48556,17 +45635,6 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline get: @@ -48607,17 +45675,6 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline patch: @@ -48664,18 +45721,6 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: @@ -48722,17 +45767,6 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineSchedules --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: @@ -48784,17 +45818,6 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineSnapshots --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: @@ -48834,18 +45857,6 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pausePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: @@ -48885,18 +45896,6 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api resumePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: @@ -48947,17 +45946,6 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineRuns --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: @@ -49005,17 +45993,6 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePipelineRunDataset --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset get: @@ -49064,17 +46041,6 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPipelineRun --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: @@ -49121,18 +46087,6 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api triggerSnapshotIngestion --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: @@ -49185,17 +46139,6 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPrivateEndpointServices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: @@ -49244,17 +46187,6 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -49306,17 +46238,6 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: @@ -49378,18 +46299,6 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: @@ -49445,17 +46354,6 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -49514,17 +46412,6 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: @@ -49565,18 +46452,6 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: @@ -49605,17 +46480,6 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting Service Account or API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. @@ -49652,18 +46516,6 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: @@ -49711,17 +46563,6 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints post: description: |- @@ -49772,18 +46613,6 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: @@ -49828,17 +46657,6 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint get: description: |- @@ -49886,17 +46704,6 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint patch: description: |- @@ -49949,18 +46756,6 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateIpMode: get: @@ -49995,17 +46790,6 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject patch: deprecated: true @@ -50046,18 +46830,6 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api disablePeering --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: @@ -50091,17 +46863,6 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDataFederationPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints post: description: |- @@ -50157,18 +46918,6 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: @@ -50202,17 +46951,6 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint get: description: Returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -50249,17 +46987,6 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/processes: get: @@ -50291,17 +47018,6 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasProcesses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses /api/atlas/v2/groups/{groupId}/processes/{processId}: get: @@ -50340,17 +47056,6 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -50420,17 +47125,6 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: @@ -50462,17 +47156,6 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespacesForHost --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: @@ -50515,17 +47198,6 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: @@ -50570,17 +47242,6 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: @@ -50651,17 +47312,6 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabaseMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: @@ -50701,17 +47351,6 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDiskPartitions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: @@ -50755,17 +47394,6 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: @@ -50855,17 +47483,6 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: @@ -51068,17 +47685,6 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: @@ -51137,17 +47743,6 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSlowQueryNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: @@ -51241,17 +47836,6 @@ paths: summary: Return Slow Queries tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSlowQueries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: @@ -51334,17 +47918,6 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: @@ -51373,17 +47946,6 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - - label: Atlas CLI - lang: cURL - source: atlas api deletePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration get: description: Fetches the current project level settings for the push-based log export feature. @@ -51414,17 +47976,6 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration patch: description: Updates the project level settings for the push-based log export feature. @@ -51460,18 +48011,6 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration post: description: Configures the project level settings for the push-based log export feature. @@ -51507,18 +48046,6 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: @@ -51557,18 +48084,6 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api loadSampleDataset --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: @@ -51605,17 +48120,6 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSampleDatasetLoadStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus /api/atlas/v2/groups/{groupId}/serverless: get: @@ -51655,17 +48159,6 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessInstances --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances post: description: |- @@ -51712,18 +48205,6 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: @@ -51770,17 +48251,6 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs post: description: |- @@ -51832,18 +48302,6 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: @@ -51896,17 +48354,6 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: @@ -51953,17 +48400,6 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: @@ -52016,17 +48452,6 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: @@ -52065,17 +48490,6 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing post: description: Set whether the Serverless Auto Indexing feature is enabled. This endpoint sets a value for Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. However, the value returned is not indicative of the Auto Indexing state as Auto Indexing is unavailable for Flex clusters. This endpoint will be sunset in January 2026. @@ -52116,18 +48530,6 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api setServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: @@ -52173,17 +48575,6 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance get: description: |- @@ -52230,17 +48621,6 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance patch: description: |- @@ -52292,18 +48672,6 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance /api/atlas/v2/groups/{groupId}/serviceAccounts: get: @@ -52334,17 +48702,6 @@ paths: summary: List All Project Service Accounts tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts post: description: Creates one Service Account for the specified Project. The Service Account will automatically be added as an Organization Member to the Organization that the specified Project is a part of. @@ -52382,18 +48739,6 @@ paths: summary: Create and Assign one Service Account to one Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}: delete: @@ -52429,17 +48774,6 @@ paths: summary: Unassign One Service Account from One Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount get: description: Returns one Service Account in the specified Project. @@ -52477,17 +48811,6 @@ paths: summary: Get one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount patch: description: Updates one Service Account in the specified Project. @@ -52532,18 +48855,6 @@ paths: summary: Update one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList: get: @@ -52583,17 +48894,6 @@ paths: summary: Return All Access List entries for one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the project. Resources require all API requests to originate from IP addresses on the API access list. @@ -52647,18 +48947,6 @@ paths: summary: Add Access List entries for one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -52703,17 +48991,6 @@ paths: summary: Remove One Access List entry from one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets: post: @@ -52759,18 +49036,6 @@ paths: summary: Create one Project Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -52811,17 +49076,6 @@ paths: summary: Delete one Project Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite: post: @@ -52866,18 +49120,6 @@ paths: summary: Assign One Service Account to One Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount /api/atlas/v2/groups/{groupId}/settings: get: @@ -52908,17 +49150,6 @@ paths: summary: Return One Project Settings tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -52953,18 +49184,6 @@ paths: summary: Update One Project Settings tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings /api/atlas/v2/groups/{groupId}/streams: get: @@ -52995,17 +49214,6 @@ paths: summary: Return All Project Stream Instances tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamInstances --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamInstances @@ -53044,18 +49252,6 @@ paths: summary: Create One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstance @@ -53090,17 +49286,6 @@ paths: summary: Delete One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamInstance @@ -53144,17 +49329,6 @@ paths: summary: Return One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamInstance @@ -53199,18 +49373,6 @@ paths: summary: Update One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamInstance @@ -53268,17 +49430,6 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadStreamTenantAuditLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: @@ -53315,17 +49466,6 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamConnections --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamConnections @@ -53372,18 +49512,6 @@ paths: summary: Create One Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamConnection @@ -53426,17 +49554,6 @@ paths: summary: Delete One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamConnection @@ -53479,17 +49596,6 @@ paths: summary: Return One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamConnection @@ -53542,18 +49648,6 @@ paths: summary: Update One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamConnection @@ -53601,18 +49695,6 @@ paths: summary: Create One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: @@ -53651,17 +49733,6 @@ paths: summary: Delete One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -53705,17 +49776,6 @@ paths: summary: Get One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor patch: description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -53764,18 +49824,6 @@ paths: summary: Modify One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api modifyStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: @@ -53814,18 +49862,6 @@ paths: summary: Start One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api startStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: @@ -53864,18 +49900,6 @@ paths: summary: Stop One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api stopStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: @@ -53918,17 +49942,6 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamProcessors --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors /api/atlas/v2/groups/{groupId}/streams/accountDetails: get: @@ -53968,17 +49981,6 @@ paths: summary: Returns the Account ID, and the VPC ID for the group and region specified. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAccountDetails --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails /api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections: get: @@ -54007,17 +50009,6 @@ paths: summary: Returns all the active incoming VPC Peering Connections. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getActiveVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/privateLinkConnections: get: @@ -54048,17 +50039,6 @@ paths: summary: Return All Private Link tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPrivateLinkConnections --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listPrivateLinkConnections @@ -54099,18 +50079,6 @@ paths: summary: Create One Private Link connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createPrivateLinkConnection @@ -54145,17 +50113,6 @@ paths: summary: Delete One Private Link connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deletePrivateLinkConnection @@ -54190,17 +50147,6 @@ paths: summary: Return One PrivateLink Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getPrivateLinkConnection @@ -54237,17 +50183,6 @@ paths: summary: Return All VPC Peering Connections. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}: delete: @@ -54279,17 +50214,6 @@ paths: summary: Deletes an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept: post: @@ -54328,18 +50252,6 @@ paths: summary: Requests the acceptance of an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api acceptVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject: post: @@ -54371,18 +50283,6 @@ paths: summary: Requests the rejection of an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api rejectVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: @@ -54420,18 +50320,6 @@ paths: summary: Create One Stream Instance With Sample Connections tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams:withSampleConnections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamInstanceWithSampleConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections /api/atlas/v2/groups/{groupId}/teams: get: @@ -54465,17 +50353,6 @@ paths: summary: Return All Teams in One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -54517,18 +50394,6 @@ paths: summary: Add One or More Teams to One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addAllTeamsToProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: @@ -54566,17 +50431,6 @@ paths: summary: Remove One Team from One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -54623,18 +50477,6 @@ paths: summary: Update Team Roles in One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateTeamRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles /api/atlas/v2/groups/{groupId}/userSecurity: get: @@ -54666,17 +50508,6 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration patch: description: |- @@ -54716,18 +50547,6 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api saveLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: @@ -54758,17 +50577,6 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - - label: Atlas CLI - lang: cURL - source: atlas api disableCustomerManagedX509 --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509 /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: @@ -54797,17 +50605,6 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: @@ -54845,18 +50642,6 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api verifyLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: @@ -54892,17 +50677,6 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLdapConfigurationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus /api/atlas/v2/groups/{groupId}/users: get: @@ -54966,17 +50740,6 @@ paths: summary: Return All MongoDB Cloud Users in One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers post: description: "Adds one MongoDB Cloud user to one project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. \n- If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access. \n- If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access. \n- If the user is already active in the project's organization, MongoDB Cloud grants access to the project. \n" @@ -55015,18 +50778,6 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}: delete: @@ -55072,17 +50823,6 @@ paths: summary: Remove One MongoDB Cloud User from One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser get: description: |- @@ -55124,17 +50864,6 @@ paths: summary: Return One MongoDB Cloud User in One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: @@ -55178,18 +50907,6 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: @@ -55243,18 +50960,6 @@ paths: summary: Add One Project Role to One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:addRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole /api/atlas/v2/groups/{groupId}/users/{userId}:removeRole: post: @@ -55307,18 +51012,6 @@ paths: summary: Remove One Project Role from One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole /api/atlas/v2/groups/{groupId}:migrate: post: @@ -55353,18 +51046,6 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/groups/{groupId}:migrate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api migrateProjectToAnotherOrg --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg /api/atlas/v2/groups/byName/{groupName}: get: @@ -55404,52 +51085,7 @@ paths: summary: Return One Project using Its Name tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName - /api/atlas/v2/openapi/info: - get: - description: 'This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}' - operationId: getOpenApiInfo - parameters: - - $ref: '#/components/parameters/pretty' - responses: - "200": - content: - application/vnd.atlas.2024-08-05+json: - schema: - $ref: '#/components/schemas/OpenApiInfo' - x-xgen-version: "2024-08-05" - description: OK - "401": - $ref: '#/components/responses/unauthorized' - "403": - $ref: '#/components/responses/forbidden' - "500": - $ref: '#/components/responses/internalServerError' - summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. - tags: - - OpenAPI - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/openapi/info?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOpenApiInfo --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55488,17 +51124,6 @@ paths: summary: Return All Organizations tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations post: description: Creates one organization in MongoDB Cloud and links it to the requesting Service Account's or API Key's organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. The requesting Service Account's or API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation. @@ -55541,18 +51166,6 @@ paths: summary: Create One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization /api/atlas/v2/orgs/{orgId}: delete: @@ -55589,17 +51202,6 @@ paths: summary: Remove One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization get: description: Returns one organization to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55633,17 +51235,6 @@ paths: summary: Return One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization patch: description: Updates one organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -55682,18 +51273,6 @@ paths: summary: Update One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization /api/atlas/v2/orgs/{orgId}/apiKeys: get: @@ -55728,17 +51307,6 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -55776,18 +51344,6 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: @@ -55824,17 +51380,6 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55874,17 +51419,6 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -55931,18 +51465,6 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: @@ -55984,17 +51506,6 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listApiKeyAccessListsEntries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -56045,18 +51556,6 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: @@ -56103,17 +51602,6 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteApiKeyAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -56159,17 +51647,6 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: @@ -56206,18 +51683,6 @@ paths: summary: Create Cost Explorer query process tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: @@ -56264,17 +51729,6 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/events: get: @@ -56347,17 +51801,6 @@ paths: summary: Return All Events from One Organization tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: @@ -56407,17 +51850,6 @@ paths: summary: Return One Event from One Organization tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent /api/atlas/v2/orgs/{orgId}/federationSettings: get: @@ -56450,17 +51882,6 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFederationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings /api/atlas/v2/orgs/{orgId}/groups: get: @@ -56511,17 +51932,6 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects /api/atlas/v2/orgs/{orgId}/invites: get: @@ -56573,17 +51983,6 @@ paths: summary: Return All Organization Invitations tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations patch: @@ -56628,18 +52027,6 @@ paths: summary: Update One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation post: @@ -56684,18 +52071,6 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: @@ -56738,17 +52113,6 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation get: @@ -56794,17 +52158,6 @@ paths: summary: Return One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation patch: @@ -56856,18 +52209,6 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById /api/atlas/v2/orgs/{orgId}/invoices: @@ -56960,17 +52301,6 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: @@ -57016,17 +52346,6 @@ paths: summary: Return One Organization Invoice tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: @@ -57071,17 +52390,6 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadInvoiceCsv --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search: get: @@ -57127,17 +52435,6 @@ paths: summary: Query lineItems of the specified invoiceId tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api queryLineItemsFromSingleInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice /api/atlas/v2/orgs/{orgId}/invoices/pending: get: @@ -57166,17 +52463,6 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPendingInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: @@ -57211,17 +52497,6 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSourceProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: @@ -57249,17 +52524,6 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken post: description: 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. @@ -57296,18 +52560,6 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken /api/atlas/v2/orgs/{orgId}/nonCompliantResources: get: @@ -57348,17 +52600,6 @@ paths: summary: Return all non-compliant resources tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getResourcesNonCompliant --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant /api/atlas/v2/orgs/{orgId}/resourcePolicies: get: @@ -57400,17 +52641,6 @@ paths: summary: Return all Atlas Resource Policies tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasResourcePolicies --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies post: description: Create one Atlas Resource Policy for an org. @@ -57456,18 +52686,6 @@ paths: summary: Create one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}: delete: @@ -57509,17 +52727,6 @@ paths: summary: Delete one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy get: description: Return one Atlas Resource Policy for an org. @@ -57564,17 +52771,6 @@ paths: summary: Return one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy patch: description: Update one Atlas Resource Policy for an org. @@ -57630,18 +52826,6 @@ paths: summary: Update one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies:validate: post: @@ -57688,18 +52872,6 @@ paths: summary: Validate one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api validateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: @@ -57730,17 +52902,6 @@ paths: summary: List All Organization Service Accounts tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts post: description: Creates one Service Account for the specified Organization. @@ -57777,18 +52938,6 @@ paths: summary: Create one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}: delete: @@ -57823,17 +52972,6 @@ paths: summary: Delete one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount get: description: Returns the specified Service Account. @@ -57871,17 +53009,6 @@ paths: summary: Get one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount patch: description: Updates the specified Service Account in the specified Organization. @@ -57926,18 +53053,6 @@ paths: summary: Update one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList: get: @@ -57977,17 +53092,6 @@ paths: summary: Return All Access List entries for one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the organization. Resources require all API requests to originate from IP addresses on the API access list. @@ -58041,18 +53145,6 @@ paths: summary: Add Access List entries for one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -58097,17 +53189,6 @@ paths: summary: Remove One Access List entry from one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups: get: @@ -58149,17 +53230,6 @@ paths: summary: Return All Service Account Project assignments tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccountProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets: post: @@ -58205,18 +53275,6 @@ paths: summary: Create one Organization Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -58257,17 +53315,6 @@ paths: summary: Delete a Organization Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret /api/atlas/v2/orgs/{orgId}/settings: get: @@ -58298,17 +53345,6 @@ paths: summary: Return Settings for One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings patch: description: Updates the organization's settings. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58345,18 +53381,6 @@ paths: summary: Update Settings for One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings /api/atlas/v2/orgs/{orgId}/teams: get: @@ -58393,17 +53417,6 @@ paths: summary: Return All Teams in One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58445,18 +53458,6 @@ paths: summary: Create One Team in One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: @@ -58495,17 +53496,6 @@ paths: summary: Remove One Team from One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -58545,17 +53535,6 @@ paths: summary: Return One Team using its ID tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getTeamById --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58604,18 +53583,6 @@ paths: summary: Rename One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api renameTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: @@ -58677,17 +53644,6 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listTeamUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers post: deprecated: true @@ -58742,18 +53698,6 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: @@ -58804,17 +53748,6 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser: @@ -58866,18 +53799,6 @@ paths: summary: Add One MongoDB Cloud User to One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addUserToTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser: post: @@ -58928,18 +53849,6 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeUserFromTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: @@ -58979,17 +53888,6 @@ paths: summary: Return One Team using its Name tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getTeamByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName /api/atlas/v2/orgs/{orgId}/users: get: @@ -59043,17 +53941,6 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers post: description: |- @@ -59095,18 +53982,6 @@ paths: summary: Add One MongoDB Cloud User to One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: @@ -59152,17 +54027,6 @@ paths: summary: Remove One MongoDB Cloud User From One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser get: description: |- @@ -59204,17 +54068,6 @@ paths: summary: Return One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser patch: description: |- @@ -59266,18 +54119,6 @@ paths: summary: Update One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/users/{userId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: @@ -59321,18 +54162,6 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: @@ -59388,18 +54217,6 @@ paths: summary: Add One Organization Role to One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole /api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole: post: @@ -59452,18 +54269,6 @@ paths: summary: Remove One Organization Role from One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole /api/atlas/v2/unauth/controlPlaneIPAddresses: get: @@ -59485,65 +54290,7 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnAllControlPlaneIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses - /api/atlas/v2/unauth/openapi/versions: - get: - description: API that provides a list of available versionsfor a given environment. - operationId: getApiVersions - parameters: - - $ref: '#/components/parameters/envelope' - - $ref: '#/components/parameters/itemsPerPage' - - $ref: '#/components/parameters/pageNum' - - $ref: '#/components/parameters/pretty' - - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). - in: query - name: env - schema: - enum: - - dev - - qa - - prod - - stage - type: string - responses: - "200": - content: - application/vnd.atlas.2024-08-05+json: - schema: - $ref: '#/components/schemas/PaginatedApiVersions' - x-xgen-version: "2024-08-05" - application/vnd.atlas.2024-08-05+yaml: - schema: - $ref: '#/components/schemas/PaginatedApiVersions' - x-xgen-version: "2024-08-05" - description: OK - "500": - $ref: '#/components/responses/internalServerError' - summary: Provides a list of versions for a given environment. - tags: - - OpenAPI - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/unauth/openapi/versions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiVersions --help /api/atlas/v2/users: post: deprecated: true @@ -59583,18 +54330,6 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X POST "/api/atlas/v2/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: @@ -59636,17 +54371,6 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -59685,17 +54409,6 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-02-19+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getUserByUsername --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername security: @@ -59773,8 +54486,6 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive - - description: Returns information about the MongoDB Atlas Specification. - name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. diff --git a/openapi/v2/openapi-2025-03-12.json b/openapi/v2/openapi-2025-03-12.json index 53b33754b5..e817670f88 100644 --- a/openapi/v2/openapi-2025-03-12.json +++ b/openapi/v2/openapi-2025-03-12.json @@ -142,10 +142,6 @@ "description": "Returns, adds, edits, or removes an online archive.", "name": "Online Archive" }, - { - "description": "Returns information about the MongoDB Atlas Specification.", - "name": "OpenAPI" - }, { "description": "Returns, adds, and edits organizational units in MongoDB Cloud.", "name": "Organizations" @@ -285,18 +281,6 @@ "tags": [ "Root" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSystemStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus" } }, @@ -344,18 +328,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurationMatchersFieldNames --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames" } }, @@ -406,18 +378,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClustersForAllProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects" } }, @@ -468,18 +428,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listEventTypes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes" } }, @@ -521,18 +469,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFederationApp --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp" } }, @@ -586,18 +522,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listConnectedOrgConfigs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs" } }, @@ -653,18 +577,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig" }, "get": { @@ -724,18 +636,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig" }, "patch": { @@ -803,18 +703,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateConnectedOrgConfig --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig" } }, @@ -865,18 +753,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listRoleMappings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings" }, "post": { @@ -936,18 +812,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping" } }, @@ -1006,18 +870,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping" }, "get": { @@ -1080,18 +932,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping" }, "put": { @@ -1162,18 +1002,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateRoleMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping" } }, @@ -1262,18 +1090,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listIdentityProviders --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders" }, "post": { @@ -1330,18 +1146,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider" } }, @@ -1400,18 +1204,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider" }, "get": { @@ -1470,18 +1262,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider" }, "patch": { @@ -1548,18 +1328,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider" } }, @@ -1618,18 +1386,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api revokeJwksFromIdentityProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider" } }, @@ -1677,18 +1433,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIdentityProviderMetadata --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata" } }, @@ -1745,18 +1489,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects" }, "post": { @@ -1825,18 +1557,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject" } }, @@ -1898,18 +1618,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName" } }, @@ -1960,18 +1668,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject" }, "get": { @@ -2024,18 +1720,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject" }, "patch": { @@ -2095,18 +1779,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject" } }, @@ -2174,18 +1846,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addUserToProject --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject" } @@ -2247,18 +1907,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectIpAccessLists --help" - } - ], "x-xgen-changelog": { "2025-05-08": "Corrects an issue where the endpoint would include Atlas internal entries." }, @@ -2337,18 +1985,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectIpAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList" } }, @@ -2408,18 +2044,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectIpAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList" }, "get": { @@ -2483,18 +2107,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectIpList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList" } }, @@ -2559,18 +2171,6 @@ "tags": [ "Project IP Access List" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectIpAccessListStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus" } }, @@ -2627,18 +2227,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations" }, "post": { @@ -2698,18 +2286,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration" } }, @@ -2769,18 +2345,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration" }, "get": { @@ -2844,18 +2408,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration" }, "patch": { @@ -2927,18 +2479,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration" }, "put": { @@ -3013,18 +2553,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAlertConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration" } }, @@ -3100,18 +2628,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertsByAlertConfigurationId --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId" } }, @@ -3184,18 +2700,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlerts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts" } }, @@ -3260,18 +2764,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAlert --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert" }, "patch": { @@ -3345,18 +2837,6 @@ "tags": [ "Alerts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api acknowledgeAlert --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert" } }, @@ -3431,18 +2911,6 @@ "tags": [ "Alert Configurations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAlertConfigurationsByAlertId --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId" } }, @@ -3503,18 +2971,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectApiKeys --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys" }, "post": { @@ -3571,18 +3027,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey" } }, @@ -3644,18 +3088,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey" }, "patch": { @@ -3734,18 +3166,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateApiKeyRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles" }, "post": { @@ -3812,18 +3232,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey" } }, @@ -3874,18 +3282,6 @@ "tags": [ "Auditing" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAuditingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration" }, "patch": { @@ -3945,18 +3341,6 @@ "tags": [ "Auditing" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAuditingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration" } }, @@ -4007,18 +3391,6 @@ "tags": [ "AWS Clusters DNS" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAwsCustomDns --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns" }, "patch": { @@ -4075,18 +3447,6 @@ "tags": [ "AWS Clusters DNS" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleAwsCustomDns --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns" } }, @@ -4143,18 +3503,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listExportBuckets --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets" }, "post": { @@ -4291,18 +3639,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket" } }, @@ -4358,18 +3694,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket" }, "get": { @@ -4472,18 +3796,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getExportBucket --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket" } }, @@ -4531,18 +3843,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings" }, "get": { @@ -4591,18 +3891,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings" }, "put": { @@ -4672,18 +3960,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateDataProtectionSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings" } }, @@ -4736,18 +4012,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCloudProviderAccessRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles" }, "post": { @@ -4808,18 +4072,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole" } }, @@ -4891,18 +4143,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deauthorizeCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole" } }, @@ -4963,18 +4203,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole" }, "patch": { @@ -5051,18 +4279,6 @@ "tags": [ "Cloud Provider Access" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api authorizeCloudProviderAccessRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole" } }, @@ -5132,18 +4348,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClusters --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters" }, "post": { @@ -5331,18 +4535,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster" } }, @@ -5418,18 +4610,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCloudProviderRegions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions" } }, @@ -5501,18 +4681,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeSharedCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster" } }, @@ -5585,18 +4753,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeSharedClusterToServerless --help" - } - ], "x-sunset": "2025-02-05", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless" } @@ -5670,18 +4826,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster" }, "get": { @@ -5747,18 +4891,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster" }, "patch": { @@ -5832,18 +4964,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster" } }, @@ -5908,18 +5028,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api autoScalingConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration" } }, @@ -5986,18 +5094,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listBackupExportJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs" }, "post": { @@ -6067,18 +5163,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createBackupExportJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob" } }, @@ -6144,18 +5228,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupExportJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob" } }, @@ -6222,18 +5294,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs" }, "post": { @@ -6306,18 +5366,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob" } }, @@ -6388,18 +5436,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api cancelBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob" }, "get": { @@ -6465,18 +5501,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob" } }, @@ -6534,18 +5558,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAllBackupSchedules --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules" }, "get": { @@ -6601,18 +5613,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getBackupSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule" }, "patch": { @@ -6682,18 +5682,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateBackupSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule" } }, @@ -6763,18 +5751,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listReplicaSetBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups" }, "post": { @@ -6844,18 +5820,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api takeSnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot" } }, @@ -6920,18 +5884,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteShardedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup" }, "get": { @@ -7003,18 +5955,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getShardedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup" } }, @@ -7075,18 +6015,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listShardedClusterBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups" } }, @@ -7154,18 +6082,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteReplicaSetBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup" }, "get": { @@ -7237,18 +6153,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getReplicaSetBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup" }, "patch": { @@ -7328,18 +6232,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateSnapshotRetention --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention" } }, @@ -7418,18 +6310,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadSharedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup" } }, @@ -7508,18 +6388,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createSharedClusterBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob" } }, @@ -7584,18 +6452,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSharedClusterBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs" } }, @@ -7670,18 +6526,6 @@ "tags": [ "Shared-Tier Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSharedClusterBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob" } }, @@ -7746,18 +6590,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSharedClusterBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups" } }, @@ -7832,18 +6664,6 @@ "tags": [ "Shared-Tier Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSharedClusterBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup" } }, @@ -7911,18 +6731,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacyBackupCheckpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints" } }, @@ -7997,18 +6805,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacyBackupCheckpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint" } }, @@ -8066,18 +6862,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPinnedNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces" }, "patch": { @@ -8155,18 +6939,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinNamespacesPatch --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch" }, "put": { @@ -8244,18 +7016,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinNamespacesPut --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut" } }, @@ -8324,18 +7084,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api unpinNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces" } }, @@ -8415,18 +7163,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated" } @@ -8514,18 +7250,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexesDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated" } @@ -8602,18 +7326,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated" }, @@ -8688,18 +7400,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated" }, @@ -8791,18 +7491,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndexDeprecated --help" - } - ], "x-sunset": "2026-11-30", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated" } @@ -8868,18 +7556,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace" } }, @@ -8941,18 +7617,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAllCustomZoneMappings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings" }, "post": { @@ -9027,18 +7691,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCustomZoneMapping --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping" } }, @@ -9119,18 +7771,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace" }, "post": { @@ -9208,18 +7848,6 @@ "tags": [ "Global Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createManagedNamespace --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace" } }, @@ -9383,18 +8011,6 @@ "tags": [ "Rolling Index" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createRollingIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex" } }, @@ -9465,18 +8081,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOnlineArchives --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives" }, "post": { @@ -9553,18 +8157,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOnlineArchive --help" - } - ], "x-xgen-changelog": { "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" }, @@ -9668,18 +8260,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadOnlineArchiveQueryLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs" } }, @@ -9748,18 +8328,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive" }, "get": { @@ -9835,18 +8403,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive" }, "patch": { @@ -9933,18 +8489,6 @@ "tags": [ "Online Archive" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOnlineArchive --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive" } }, @@ -10009,18 +8553,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api endOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation" }, "get": { @@ -10088,18 +8620,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation" }, "post": { @@ -10173,18 +8693,6 @@ "tags": [ "Cluster Outage Simulation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api startOutageSimulation --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation" } }, @@ -10239,18 +8747,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDropIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes" } }, @@ -10305,18 +8801,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSchemaAdvice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice" } }, @@ -10422,18 +8906,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listClusterSuggestedIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes" } }, @@ -10501,18 +8973,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getClusterAdvancedConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration" }, "patch": { @@ -10587,18 +9047,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateClusterAdvancedConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration" } }, @@ -10653,18 +9101,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api testFailover --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover" } }, @@ -10748,18 +9184,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacyBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs" }, "post": { @@ -10834,18 +9258,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createLegacyBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob" } }, @@ -10925,18 +9337,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacyBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob" } }, @@ -10997,18 +9397,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment" }, "get": { @@ -11067,18 +9455,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchDeployment --help" - } - ], "x-xgen-changelog": { "2025-03-12": "Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400." }, @@ -11154,18 +9530,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment" }, "post": { @@ -11238,18 +9602,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchDeployment --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment" } }, @@ -11330,18 +9682,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexesCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster" }, "post": { @@ -11418,18 +9758,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex" } }, @@ -11528,18 +9856,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasSearchIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes" } }, @@ -11628,18 +9944,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName" }, "get": { @@ -11729,18 +10033,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName" }, "patch": { @@ -11844,18 +10136,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndexByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName" } }, @@ -11930,18 +10210,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex" }, "get": { @@ -12027,18 +10295,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex" }, "patch": { @@ -12128,18 +10384,6 @@ "tags": [ "Atlas Search" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasSearchIndex --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex" } }, @@ -12205,18 +10449,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacySnapshotSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule" }, "patch": { @@ -12291,18 +10523,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateLegacySnapshotSchedule --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule" } }, @@ -12388,18 +10608,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listLegacySnapshots --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots" } }, @@ -12472,18 +10680,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLegacySnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot" }, "get": { @@ -12557,18 +10753,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLegacySnapshot --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot" }, "patch": { @@ -12650,18 +10834,6 @@ "tags": [ "Legacy Backup" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateLegacySnapshotRetention --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention" } }, @@ -12722,18 +10894,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getClusterStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus" } }, @@ -12811,18 +10971,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster" } }, @@ -12950,18 +11098,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements" } }, @@ -13034,18 +11170,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api grantMongoDbEmployeeAccess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess" } }, @@ -13117,18 +11241,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pinFeatureCompatibilityVersion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion" } }, @@ -13189,18 +11301,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api revokeMongoDbEmployeeAccess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess" } }, @@ -13264,18 +11364,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api unpinFeatureCompatibilityVersion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion" } }, @@ -13377,18 +11465,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getHostLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs" } }, @@ -13433,18 +11509,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics" } }, @@ -13519,18 +11583,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringContainerByCloudProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider" }, "post": { @@ -13593,18 +11645,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer" } }, @@ -13661,18 +11701,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringContainers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers" } }, @@ -13734,18 +11762,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer" }, "get": { @@ -13805,18 +11821,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer" }, "patch": { @@ -13890,18 +11894,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePeeringContainer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer" } }, @@ -13955,18 +11947,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listCustomDatabaseRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles" }, "post": { @@ -14029,18 +12009,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole" } }, @@ -14100,18 +12068,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole" }, "get": { @@ -14166,18 +12122,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole" }, "patch": { @@ -14249,18 +12193,6 @@ "tags": [ "Custom Database Roles" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateCustomDatabaseRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole" } }, @@ -14332,18 +12264,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFederatedDatabases --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases" }, "post": { @@ -14412,18 +12332,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase" } }, @@ -14477,18 +12385,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase" }, "get": { @@ -14547,18 +12443,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase" }, "patch": { @@ -14636,18 +12520,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateFederatedDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase" } }, @@ -14715,18 +12587,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnFederatedDatabaseQueryLimits --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits" } }, @@ -14795,18 +12655,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit" }, "get": { @@ -14879,18 +12727,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnFederatedDatabaseQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit" }, "patch": { @@ -14971,18 +12807,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOneDataFederationQueryLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit" } }, @@ -15063,18 +12887,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadFederatedDatabaseQueryLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs" } }, @@ -15131,18 +12943,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabaseUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers" }, "post": { @@ -15361,18 +13161,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser" } }, @@ -15441,18 +13229,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser" }, "get": { @@ -15522,18 +13298,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser" }, "patch": { @@ -15620,18 +13384,6 @@ "tags": [ "Database Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateDatabaseUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser" } }, @@ -15700,18 +13452,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabaseUserCertificates --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates" }, "post": { @@ -15788,18 +13528,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDatabaseUserCertificate --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate" } }, @@ -15911,18 +13639,6 @@ "tags": [ "Access Tracking" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAccessLogsByClusterName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName" } }, @@ -16030,18 +13746,6 @@ "tags": [ "Access Tracking" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAccessLogsByHostname --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname" } }, @@ -16093,18 +13797,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRest --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest" }, "patch": { @@ -16167,18 +13859,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateEncryptionAtRest --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest" } }, @@ -16248,18 +13928,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider" }, "post": { @@ -16329,18 +13997,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint" } }, @@ -16408,18 +14064,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion" }, "get": { @@ -16491,18 +14135,6 @@ "tags": [ "Encryption at Rest using Customer Key Management" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint" } }, @@ -16635,18 +14267,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectEvents --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents" } }, @@ -16720,18 +14340,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectEvent --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent" } }, @@ -16791,18 +14399,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexClusters --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters" }, "post": { @@ -16868,18 +14464,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster" } }, @@ -16940,18 +14524,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster" }, "get": { @@ -17016,18 +14588,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster" }, "patch": { @@ -17100,18 +14660,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster" } }, @@ -17186,18 +14734,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadFlexBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup" } }, @@ -17267,18 +14803,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs" }, "post": { @@ -17351,18 +14875,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createFlexBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob" } }, @@ -17433,18 +14945,6 @@ "tags": [ "Flex Restore Jobs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob" } }, @@ -17514,18 +15014,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listFlexBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups" } }, @@ -17594,18 +15082,6 @@ "tags": [ "Flex Snapshots" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFlexBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup" } }, @@ -17673,18 +15149,6 @@ "tags": [ "Flex Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api upgradeFlexCluster --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster" } }, @@ -17735,18 +15199,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listMetricTypes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes" } }, @@ -17846,18 +15298,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listIndexMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics" } }, @@ -17960,18 +15400,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getIndexMetrics --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics" } }, @@ -18063,18 +15491,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements" } }, @@ -18134,18 +15550,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listThirdPartyIntegrations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations" } }, @@ -18215,18 +15619,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration" }, "get": { @@ -18300,18 +15692,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration" }, "post": { @@ -18405,18 +15785,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration" }, "put": { @@ -18510,18 +15878,6 @@ "tags": [ "Third-Party Integrations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateThirdPartyIntegration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration" } }, @@ -18590,18 +15946,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectInvitations --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations" }, @@ -18663,18 +16007,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation" }, @@ -18733,18 +16065,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation" } @@ -18798,18 +16118,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation" }, @@ -18870,18 +16178,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation" }, @@ -18950,18 +16246,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectInvitationById --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById" } @@ -19013,18 +16297,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnAllIpAddresses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses" } }, @@ -19089,18 +16361,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectLimits --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits" } }, @@ -19176,18 +16436,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit" }, "get": { @@ -19267,18 +16515,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit" }, "patch": { @@ -19366,18 +16602,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api setProjectLimit --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit" } }, @@ -19444,18 +16668,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPushMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration" } }, @@ -19518,18 +16730,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api validateMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration" } }, @@ -19588,18 +16788,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getValidationStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus" } }, @@ -19650,18 +16838,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPushMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration" } }, @@ -19712,18 +16888,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api cutoverMigration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration" } }, @@ -19768,18 +16932,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api resetMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow" }, "get": { @@ -19828,18 +16980,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow" }, "patch": { @@ -19893,18 +17033,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow" } }, @@ -19949,18 +17077,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleMaintenanceAutoDefer --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer" } }, @@ -20005,18 +17121,6 @@ "tags": [ "Maintenance Windows" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deferMaintenanceWindow --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow" } }, @@ -20067,18 +17171,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getManagedSlowMs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs" } }, @@ -20123,18 +17215,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableSlowOperationThresholding --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding" } }, @@ -20179,18 +17259,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api enableSlowOperationThresholding --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding" } }, @@ -20297,18 +17365,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectLtsVersions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions" } }, @@ -20385,18 +17441,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections" }, "post": { @@ -20463,18 +17507,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection" } }, @@ -20535,18 +17567,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection" }, "get": { @@ -20608,18 +17628,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection" }, "patch": { @@ -20692,18 +17700,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection" } }, @@ -20763,18 +17759,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelines --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines" }, @@ -20837,18 +17821,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline" } @@ -20902,18 +17874,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline" }, @@ -20977,18 +17937,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline" }, @@ -21060,18 +18008,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline" } @@ -21144,18 +18080,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineSchedules --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules" } @@ -21240,18 +18164,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineSnapshots --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots" } @@ -21314,18 +18226,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api pausePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline" } @@ -21388,18 +18288,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api resumePipeline --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline" } @@ -21483,18 +18371,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPipelineRuns --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns" } @@ -21568,18 +18444,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePipelineRunDataset --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset" }, @@ -21654,18 +18518,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPipelineRun --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun" } @@ -21739,18 +18591,6 @@ "tags": [ "Data Lake Pipelines" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api triggerSnapshotIngestion --help" - } - ], "x-sunset": "2025-09-09", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion" } @@ -21817,18 +18657,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService" } }, @@ -21876,18 +18704,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getRegionalizedPrivateEndpointSetting --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting" }, "patch": { @@ -21947,18 +18763,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting" } }, @@ -22027,18 +18831,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessPrivateEndpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints" }, "post": { @@ -22109,18 +18901,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint" } }, @@ -22185,18 +18965,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint" }, "get": { @@ -22265,18 +19033,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint" }, "patch": { @@ -22353,18 +19109,6 @@ "tags": [ "Serverless Private Endpoints" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServerlessPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint" } }, @@ -22444,18 +19188,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPrivateEndpointServices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices" } }, @@ -22531,18 +19263,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService" }, "get": { @@ -22622,18 +19342,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateEndpointService --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService" } }, @@ -22729,18 +19437,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint" } }, @@ -22826,18 +19522,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint" }, "get": { @@ -22927,18 +19611,6 @@ "tags": [ "Private Endpoint Services" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint" } }, @@ -22994,18 +19666,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject" }, "patch": { @@ -23070,18 +19730,6 @@ "tags": [ "Network Peering" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disablePeering --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering" } }, @@ -23141,18 +19789,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDataFederationPrivateEndpoints --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints" }, "post": { @@ -23212,18 +19848,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint" } }, @@ -23278,18 +19902,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint" }, "get": { @@ -23348,18 +19960,6 @@ "tags": [ "Data Federation" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDataFederationPrivateEndpoint --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint" } }, @@ -23416,18 +20016,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listAtlasProcesses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses" } }, @@ -23489,18 +20077,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess" } }, @@ -23557,18 +20133,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespacesForHost --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost" } }, @@ -23640,18 +20204,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDatabases --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases" } }, @@ -23722,18 +20274,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabase --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase" } }, @@ -23843,18 +20383,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDatabaseMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements" } }, @@ -23922,18 +20450,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDiskPartitions --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions" } }, @@ -24001,18 +20517,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listDiskMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements" } }, @@ -24134,18 +20638,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getDiskMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements" } }, @@ -24376,18 +20868,6 @@ "tags": [ "Monitoring and Logs" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getHostMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements" } }, @@ -24467,18 +20947,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSlowQueryNamespaces --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces" } }, @@ -24609,18 +21077,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSlowQueries --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries" } }, @@ -24740,18 +21196,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSuggestedIndexes --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes" } }, @@ -24856,18 +21300,6 @@ "tags": [ "Collection Level Metrics" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements" } }, @@ -24915,18 +21347,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration" }, "get": { @@ -24976,18 +21396,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration" }, "patch": { @@ -25045,18 +21453,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updatePushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration" }, "post": { @@ -25114,18 +21510,6 @@ "tags": [ "Push-Based Log Export" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPushBasedLogConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration" } }, @@ -25186,18 +21570,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api loadSampleDataset --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset" } }, @@ -25255,18 +21627,6 @@ "tags": [ "Clusters" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getSampleDatasetLoadStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus" } }, @@ -25330,18 +21690,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessInstances --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances" }, "post": { @@ -25411,18 +21759,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance" } }, @@ -25496,18 +21832,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessBackupRestoreJobs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs" }, "post": { @@ -25584,18 +21908,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServerlessBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob" } }, @@ -25673,18 +21985,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessBackupRestoreJob --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob" } }, @@ -25758,18 +22058,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServerlessBackups --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups" } }, @@ -25845,18 +22133,6 @@ "tags": [ "Cloud Backups" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessBackup --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup" } }, @@ -25918,18 +22194,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessAutoIndexing --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing" }, "post": { @@ -25992,18 +22256,6 @@ "tags": [ "Performance Advisor" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api setServerlessAutoIndexing --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing" } }, @@ -26071,18 +22323,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance" }, "get": { @@ -26151,18 +22391,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance" }, "patch": { @@ -26239,18 +22467,6 @@ "tags": [ "Serverless Instances" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServerlessInstance --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance" } }, @@ -26304,18 +22520,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectServiceAccounts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts" }, "post": { @@ -26376,18 +22580,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount" } }, @@ -26444,18 +22636,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount" }, "get": { @@ -26515,18 +22695,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount" }, "patch": { @@ -26597,18 +22765,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount" } }, @@ -26676,18 +22832,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList" }, "post": { @@ -26775,18 +22919,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList" } }, @@ -26856,18 +22988,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccountAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry" } }, @@ -26940,18 +23060,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createProjectServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret" } }, @@ -27016,18 +23124,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteProjectServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret" } }, @@ -27098,18 +23194,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount" } }, @@ -27160,18 +23244,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings" }, "patch": { @@ -27228,18 +23300,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings" } }, @@ -27293,18 +23353,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamInstances --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27367,18 +23415,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27444,18 +23480,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAccountDetails --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails" } }, @@ -27506,18 +23530,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getActiveVpcPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections" } }, @@ -27571,18 +23583,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPrivateLinkConnections --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27648,18 +23648,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createPrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27716,18 +23704,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deletePrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27782,18 +23758,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getPrivateLinkConnection --help" - } - ], "x-xgen-changelog": { "2024-10-02": "The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA." }, @@ -27856,18 +23820,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getVpcPeeringConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections" } }, @@ -27918,18 +23870,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection" } }, @@ -27991,18 +23931,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api acceptVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection" } }, @@ -28053,18 +23981,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api rejectVpcPeeringConnection --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection" } }, @@ -28118,18 +24034,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28198,18 +24102,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28281,18 +24173,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateStreamInstance --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28379,18 +24259,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadStreamTenantAuditLogs --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs" } }, @@ -28453,18 +24321,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamConnections --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28539,18 +24395,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28619,18 +24463,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28697,18 +24529,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28792,18 +24612,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateStreamConnection --help" - } - ], "x-xgen-changelog": { "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." }, @@ -28880,18 +24688,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor" } }, @@ -28954,18 +24750,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor" }, "get": { @@ -29035,18 +24819,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor" }, "patch": { @@ -29124,18 +24896,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api modifyStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor" } }, @@ -29198,18 +24958,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api startStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor" } }, @@ -29283,18 +25031,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api startStreamProcessorWith --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessorWith" } }, @@ -29357,18 +25093,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api stopStreamProcessor --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor" } }, @@ -29441,18 +25165,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listStreamProcessors --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors" } }, @@ -29514,18 +25226,6 @@ "tags": [ "Streams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams:withSampleConnections\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createStreamInstanceWithSampleConnections --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections" } }, @@ -29585,18 +25285,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectTeams --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams" }, "post": { @@ -29663,18 +25351,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addAllTeamsToProject --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject" } }, @@ -29733,18 +25409,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam" }, "patch": { @@ -29818,18 +25482,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateTeamRoles --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles" } }, @@ -29881,18 +25533,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration" }, "patch": { @@ -29952,18 +25592,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api saveLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration" } }, @@ -30008,18 +25636,6 @@ "tags": [ "X.509 Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api disableCustomerManagedX509 --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509" } }, @@ -30067,18 +25683,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration" } }, @@ -30140,18 +25744,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api verifyLdapConfiguration --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration" } }, @@ -30209,18 +25801,6 @@ "tags": [ "LDAP Configuration" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getLdapConfigurationStatus --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus" } }, @@ -30317,18 +25897,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listProjectUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers" }, "post": { @@ -30391,18 +25959,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser" } }, @@ -30467,18 +26023,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser" }, "get": { @@ -30537,18 +26081,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getProjectUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser" } }, @@ -30618,18 +26150,6 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateProjectRoles --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles" } @@ -30709,18 +26229,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:addRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addProjectRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole" } }, @@ -30799,18 +26307,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeProjectRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole" } }, @@ -30866,70 +26362,9 @@ "tags": [ "Projects" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api migrateProjectToAnotherOrg --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg" } }, - "/api/atlas/v2/openapi/info": { - "get": { - "description": "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}", - "operationId": "getOpenApiInfo", - "parameters": [ - { - "$ref": "#/components/parameters/pretty" - } - ], - "responses": { - "200": { - "content": { - "application/vnd.atlas.2024-08-05+json": { - "schema": { - "$ref": "#/components/schemas/OpenApiInfo" - }, - "x-xgen-version": "2024-08-05" - } - }, - "description": "OK" - }, - "401": { - "$ref": "#/components/responses/unauthorized" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internalServerError" - } - }, - "summary": "Return general information about the MongoDB Atlas Administration API OpenAPI Specification.", - "tags": [ - "OpenAPI" - ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/openapi/info?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOpenApiInfo --help" - } - ] - } - }, "/api/atlas/v2/orgs": { "get": { "description": "Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role.", @@ -30994,18 +26429,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizations --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations" }, "post": { @@ -31072,18 +26495,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization" } }, @@ -31134,18 +26545,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization" }, "get": { @@ -31200,18 +26599,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization" }, "patch": { @@ -31274,18 +26661,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganization --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization" } }, @@ -31346,18 +26721,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listApiKeys --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys" }, "post": { @@ -31418,18 +26781,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey" } }, @@ -31488,18 +26839,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey" }, "get": { @@ -31562,18 +26901,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey" }, "patch": { @@ -31647,18 +26974,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateApiKey --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey" } }, @@ -31729,18 +27044,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listApiKeyAccessListsEntries --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries" }, "post": { @@ -31825,18 +27128,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createApiKeyAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList" } }, @@ -31909,18 +27200,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteApiKeyAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry" }, "get": { @@ -31991,18 +27270,6 @@ "tags": [ "Programmatic API Keys" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiKeyAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList" } }, @@ -32061,18 +27328,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createCostExplorerQueryProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess" } }, @@ -32144,18 +27399,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getCostExplorerQueryProcess --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess" } }, @@ -32264,18 +27507,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationEvents --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents" } }, @@ -32349,18 +27580,6 @@ "tags": [ "Events" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationEvent --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent" } }, @@ -32414,18 +27633,6 @@ "tags": [ "Federated Authentication" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getFederationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings" } }, @@ -32498,18 +27705,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects" } }, @@ -32585,18 +27780,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationInvitations --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations" }, @@ -32662,18 +27845,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation" }, @@ -32739,18 +27910,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation" } @@ -32813,18 +27972,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation" }, @@ -32889,18 +28036,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationInvitation --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation" }, @@ -32976,18 +28111,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationInvitationById --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById" } @@ -33126,18 +28249,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listInvoices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices" } }, @@ -33185,18 +28296,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listPendingInvoices --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices" } }, @@ -33266,18 +28365,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getInvoice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice" } }, @@ -33336,18 +28423,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api downloadInvoiceCsv --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv" } }, @@ -33422,18 +28497,6 @@ "tags": [ "Invoices" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api queryLineItemsFromSingleInvoice --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice" } }, @@ -33490,18 +28553,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listSourceProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects" } }, @@ -33546,18 +28597,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteLinkToken --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken" }, "post": { @@ -33617,18 +28656,6 @@ "tags": [ "Cloud Migration Service" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createLinkToken --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken" } }, @@ -33693,18 +28720,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getResourcesNonCompliant --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant" } }, @@ -33770,18 +28785,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasResourcePolicies --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies" }, "post": { @@ -33854,18 +28857,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy" } }, @@ -33930,18 +28921,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy" }, "get": { @@ -34010,18 +28989,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy" }, "patch": { @@ -34107,18 +29074,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy" } }, @@ -34193,18 +29148,6 @@ "tags": [ "Resource Policies" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api validateAtlasResourcePolicy --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy" } }, @@ -34258,18 +29201,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccounts --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts" }, "post": { @@ -34329,18 +29260,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount" } }, @@ -34396,18 +29315,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount" }, "get": { @@ -34467,18 +29374,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount" }, "patch": { @@ -34549,18 +29444,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateServiceAccount --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount" } }, @@ -34628,18 +29511,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList" }, "post": { @@ -34727,18 +29598,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccountAccessList --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList" } }, @@ -34808,18 +29667,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccountAccessListEntry --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry" } }, @@ -34888,18 +29735,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listServiceAccountProjects --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects" } }, @@ -34972,18 +29807,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret" } }, @@ -35048,18 +29871,6 @@ "tags": [ "Service Accounts" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteServiceAccountSecret --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret" } }, @@ -35110,18 +29921,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings" }, "patch": { @@ -35181,18 +29980,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationSettings --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings" } }, @@ -35256,18 +30043,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationTeams --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams" }, "post": { @@ -35334,18 +30109,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam" } }, @@ -35409,18 +30172,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getTeamByName --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName" } }, @@ -35482,18 +30233,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api deleteTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam" }, "get": { @@ -35556,18 +30295,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getTeamById --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById" }, "patch": { @@ -35644,18 +30371,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api renameTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam" } }, @@ -35747,18 +30462,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listTeamUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers" }, "post": { @@ -35839,18 +30542,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addTeamUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser" } @@ -35924,18 +30615,6 @@ "tags": [ "Teams" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeTeamUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser" } @@ -36012,18 +30691,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addUserToTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam" } }, @@ -36099,18 +30766,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeUserFromTeam --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam" } }, @@ -36192,18 +30847,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api listOrganizationUsers --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers" }, "post": { @@ -36266,18 +30909,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser" } }, @@ -36342,18 +30973,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser" }, "get": { @@ -36412,18 +31031,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser" }, "patch": { @@ -36497,18 +31104,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser" } }, @@ -36578,18 +31173,6 @@ "tags": [ "Organizations" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api updateOrganizationRoles --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles" } @@ -36669,18 +31252,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api addOrganizationRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole" } }, @@ -36756,18 +31327,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api removeOrganizationRole --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole" } }, @@ -36801,93 +31360,9 @@ "tags": [ "Root" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api returnAllControlPlaneIpAddresses --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses" } }, - "/api/atlas/v2/unauth/openapi/versions": { - "get": { - "description": "API that provides a list of available versionsfor a given environment.", - "operationId": "getApiVersions", - "parameters": [ - { - "$ref": "#/components/parameters/envelope" - }, - { - "$ref": "#/components/parameters/itemsPerPage" - }, - { - "$ref": "#/components/parameters/pageNum" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "description": "The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com).", - "in": "query", - "name": "env", - "schema": { - "enum": [ - "dev", - "qa", - "prod", - "stage" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/vnd.atlas.2024-08-05+json": { - "schema": { - "$ref": "#/components/schemas/PaginatedApiVersions" - }, - "x-xgen-version": "2024-08-05" - }, - "application/vnd.atlas.2024-08-05+yaml": { - "schema": { - "$ref": "#/components/schemas/PaginatedApiVersions" - }, - "x-xgen-version": "2024-08-05" - } - }, - "description": "OK" - }, - "500": { - "$ref": "#/components/responses/internalServerError" - } - }, - "summary": "Provides a list of versions for a given environment.", - "tags": [ - "OpenAPI" - ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/unauth/openapi/versions?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getApiVersions --help" - } - ] - } - }, "/api/atlas/v2/users": { "post": { "deprecated": true, @@ -36941,18 +31416,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api createUser --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser" } @@ -37013,18 +31476,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getUserByUsername --help" - } - ], "x-sunset": "2026-07-31", "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername" } @@ -37088,18 +31539,6 @@ "tags": [ "MongoDB Cloud Users" ], - "x-codeSamples": [ - { - "lang": "cURL", - "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-03-12+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" - }, - { - "lang": "cURL", - "label": "Atlas CLI", - "source": "atlas api getUser --help" - } - ], "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser" } } @@ -40657,15 +35096,6 @@ "title": "API User Events", "type": "object" }, - "ApiVersion": { - "properties": { - "version": { - "description": "Object representing a version of the Atlas Admin API.", - "type": "string" - } - }, - "type": "object" - }, "AppServiceAlertConfigViewForNdsGroup": { "description": "App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified.", "properties": { @@ -62457,35 +56887,6 @@ "type": "object", "writeOnly": true }, - "Info": { - "description": "Information about the MongoDB Atlas Administration API OpenAPI Specification.", - "properties": { - "description": { - "description": "Description of the MongoDB Atlas Administration API.", - "example": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.", - "type": "string" - }, - "license": { - "$ref": "#/components/schemas/License" - }, - "termsOfService": { - "description": "Terms of Service URL.", - "example": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", - "type": "string" - }, - "title": { - "description": "Title of the MongoDB Atlas Administration API.", - "example": "MongoDB Atlas Administration API.", - "type": "string" - }, - "version": { - "description": "Version of the MongoDB Atlas Administration API.", - "example": "2.0", - "type": "string" - } - }, - "type": "object" - }, "IngestionPipelineRun": { "description": "Run details of a Data Lake Pipeline.", "properties": { @@ -64223,22 +58624,6 @@ ], "type": "object" }, - "License": { - "description": "License information of the MongoDB Atlas Administration API.", - "properties": { - "name": { - "description": "Name of the license.", - "example": "CC BY-NC-SA 3.0 US", - "type": "string" - }, - "url": { - "description": "URL of the license.", - "example": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/", - "type": "string" - } - }, - "type": "object" - }, "Link": { "properties": { "href": { @@ -66866,14 +61251,6 @@ "title": "Online Archive Schedule", "type": "object" }, - "OpenApiInfo": { - "properties": { - "info": { - "$ref": "#/components/schemas/Info" - } - }, - "type": "object" - }, "Operator": { "description": "Comparison operator to apply when checking the current metric value.", "enum": [ @@ -68759,38 +63136,6 @@ }, "type": "object" }, - "PaginatedApiVersions": { - "properties": { - "links": { - "description": "List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.", - "externalDocs": { - "description": "Web Linking Specification (RFC 5988)", - "url": "https://datatracker.ietf.org/doc/html/rfc5988" - }, - "items": { - "$ref": "#/components/schemas/Link" - }, - "readOnly": true, - "type": "array" - }, - "results": { - "description": "List of returned documents that MongoDB Cloud provides when completing this request.", - "items": { - "$ref": "#/components/schemas/ApiVersion" - }, - "readOnly": true, - "type": "array" - }, - "totalCount": { - "description": "Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact.", - "format": "int32", - "minimum": 0, - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, "PaginatedAtlasGroupView": { "properties": { "links": { diff --git a/openapi/v2/openapi-2025-03-12.yaml b/openapi/v2/openapi-2025-03-12.yaml index 7fa7eb3d10..125238983e 100644 --- a/openapi/v2/openapi-2025-03-12.yaml +++ b/openapi/v2/openapi-2025-03-12.yaml @@ -2847,12 +2847,6 @@ components: - id title: API User Events type: object - ApiVersion: - properties: - version: - description: Object representing a version of the Atlas Admin API. - type: string - type: object AppServiceAlertConfigViewForNdsGroup: description: App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified. properties: @@ -20487,28 +20481,6 @@ components: type: object type: object writeOnly: true - Info: - description: Information about the MongoDB Atlas Administration API OpenAPI Specification. - properties: - description: - description: Description of the MongoDB Atlas Administration API. - example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. - type: string - license: - $ref: '#/components/schemas/License' - termsOfService: - description: Terms of Service URL. - example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions - type: string - title: - description: Title of the MongoDB Atlas Administration API. - example: MongoDB Atlas Administration API. - type: string - version: - description: Version of the MongoDB Atlas Administration API. - example: "2.0" - type: string - type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -22027,18 +21999,6 @@ components: - eventTypeName - notifications type: object - License: - description: License information of the MongoDB Atlas Administration API. - properties: - name: - description: Name of the license. - example: CC BY-NC-SA 3.0 US - type: string - url: - description: URL of the license. - example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ - type: string - type: object Link: properties: href: @@ -24186,11 +24146,6 @@ components: - type title: Online Archive Schedule type: object - OpenApiInfo: - properties: - info: - $ref: '#/components/schemas/Info' - type: object Operator: description: Comparison operator to apply when checking the current metric value. enum: @@ -25692,30 +25647,6 @@ components: readOnly: true type: integer type: object - PaginatedApiVersions: - properties: - links: - description: List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. - externalDocs: - description: Web Linking Specification (RFC 5988) - url: https://datatracker.ietf.org/doc/html/rfc5988 - items: - $ref: '#/components/schemas/Link' - readOnly: true - type: array - results: - description: List of returned documents that MongoDB Cloud provides when completing this request. - items: - $ref: '#/components/schemas/ApiVersion' - readOnly: true - type: array - totalCount: - description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. - format: int32 - minimum: 0 - readOnly: true - type: integer - type: object PaginatedAtlasGroupView: properties: links: @@ -34497,17 +34428,6 @@ paths: summary: Return the status of this MongoDB application tags: - Root - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSystemStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/getSystemStatus /api/atlas/v2/alertConfigs/matchers/fieldNames: get: @@ -34537,17 +34457,6 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurationMatchersFieldNames --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames /api/atlas/v2/clusters: get: @@ -34576,17 +34485,6 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClustersForAllProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClustersForAllProjects /api/atlas/v2/eventTypes: get: @@ -34615,17 +34513,6 @@ paths: summary: List All Possible Event Types tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listEventTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listEventTypes /api/atlas/v2/federationSettings/{federationSettingsId}: delete: @@ -34652,17 +34539,6 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFederationApp --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteFederationApp /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: @@ -34694,17 +34570,6 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listConnectedOrgConfigs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listConnectedOrgConfigs /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: @@ -34740,17 +34605,6 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/removeConnectedOrgConfig get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in the connected org. @@ -34789,17 +34643,6 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getConnectedOrgConfig patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." @@ -34843,18 +34686,6 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateConnectedOrgConfig --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: @@ -34885,17 +34716,6 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listRoleMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listRoleMappings post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -34932,18 +34752,6 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: @@ -34980,17 +34788,6 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteRoleMapping get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -35030,17 +34827,6 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getRoleMapping put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -35085,18 +34871,6 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateRoleMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateRoleMapping /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: @@ -35152,17 +34926,6 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listIdentityProviders --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/listIdentityProviders post: description: |- @@ -35201,18 +34964,6 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/createIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: @@ -35250,17 +35001,6 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/deleteIdentityProvider get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting Service Account or API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' @@ -35298,17 +35038,6 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProvider patch: description: |- @@ -35354,18 +35083,6 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: @@ -35403,17 +35120,6 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - - label: Atlas CLI - lang: cURL - source: atlas api revokeJwksFromIdentityProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/revokeJwksFromIdentityProvider /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -35443,17 +35149,6 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIdentityProviderMetadata --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getIdentityProviderMetadata /api/atlas/v2/groups: get: @@ -35486,17 +35181,6 @@ paths: summary: Return All Projects tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjects post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -35540,18 +35224,6 @@ paths: summary: Create One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProject /api/atlas/v2/groups/{groupId}: delete: @@ -35582,17 +35254,6 @@ paths: summary: Remove One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProject get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -35625,17 +35286,6 @@ paths: summary: Return One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProject patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -35672,18 +35322,6 @@ paths: summary: Update One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProject /api/atlas/v2/groups/{groupId}/access: post: @@ -35725,18 +35363,6 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addUserToProject --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addUserToProject /api/atlas/v2/groups/{groupId}/accessList: @@ -35772,17 +35398,6 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectIpAccessLists --help x-xgen-changelog: "2025-05-08": Corrects an issue where the endpoint would include Atlas internal entries. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists @@ -35829,18 +35444,6 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/createProjectIpAccessList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: @@ -35883,17 +35486,6 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectIpAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. @@ -35934,17 +35526,6 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectIpList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpList /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: @@ -35985,17 +35566,6 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectIpAccessListStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus /api/atlas/v2/groups/{groupId}/alertConfigs: get: @@ -36030,17 +35600,6 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations post: description: |- @@ -36080,18 +35639,6 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: @@ -36132,17 +35679,6 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/deleteAlertConfiguration get: description: |- @@ -36186,17 +35722,6 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/getAlertConfiguration patch: description: |- @@ -36247,18 +35772,6 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration put: description: |- @@ -36311,18 +35824,6 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAlertConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: @@ -36371,17 +35872,6 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertsByAlertConfigurationId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlertsByAlertConfigurationId /api/atlas/v2/groups/{groupId}/alerts: get: @@ -36427,17 +35917,6 @@ paths: summary: Return All Alerts from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlerts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: @@ -36481,17 +35960,6 @@ paths: summary: Return One Alert from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/getAlert patch: description: |- @@ -36541,18 +36009,6 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api acknowledgeAlert --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/acknowledgeAlert /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -36600,17 +36056,6 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAlertConfigurationsByAlertId --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId /api/atlas/v2/groups/{groupId}/apiKeys: get: @@ -36645,17 +36090,6 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listProjectApiKeys post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36690,18 +36124,6 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createProjectApiKey /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: @@ -36740,17 +36162,6 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/removeProjectApiKey patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. @@ -36797,18 +36208,6 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateApiKeyRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -36850,18 +36249,6 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/addProjectApiKey /api/atlas/v2/groups/{groupId}/auditLog: get: @@ -36892,17 +36279,6 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/getAuditingConfiguration patch: description: 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 Service Account or API Key must have the Project Owner role. This feature isn't available for `M0`, `M2`, `M5`, or serverless clusters. @@ -36939,18 +36315,6 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAuditingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Auditing/operation/updateAuditingConfiguration /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: @@ -36981,17 +36345,6 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns patch: description: 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 Service Account or API Key must have the Project Atlas Admin role. @@ -37026,18 +36379,6 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleAwsCustomDns --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: @@ -37069,17 +36410,6 @@ paths: summary: Return All Snapshot Export Buckets tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listExportBuckets --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listExportBuckets post: description: 'Creates a Snapshot Export Bucket for an AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. Once created, an snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37170,18 +36500,6 @@ paths: summary: Create One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createExportBucket /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -37217,17 +36535,6 @@ paths: summary: Delete One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteExportBucket get: description: 'Returns one Export Bucket associated with the specified Project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -37295,17 +36602,6 @@ paths: summary: Return One Snapshot Export Bucket tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getExportBucket --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getExportBucket /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: delete: @@ -37334,17 +36630,6 @@ paths: summary: Disable the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" - - label: Atlas CLI - lang: cURL - source: atlas api disableDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/disableDataProtectionSettings get: description: 'Returns the Backup Compliance Policy settings with the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37374,17 +36659,6 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getDataProtectionSettings put: description: 'Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -37428,18 +36702,6 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateDataProtectionSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateDataProtectionSettings /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: @@ -37472,17 +36734,6 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCloudProviderAccessRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: description: 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 Service Account or API Key must have the Project Owner role. @@ -37520,18 +36771,6 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: @@ -37577,17 +36816,6 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - - label: Atlas CLI - lang: cURL - source: atlas api deauthorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: @@ -37625,17 +36853,6 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. This is not required for GCP service account access. @@ -37684,18 +36901,6 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api authorizeCloudProviderAccessRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole /api/atlas/v2/groups/{groupId}/clusters: get: @@ -37739,17 +36944,6 @@ paths: summary: Return All Clusters in One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listClusters post: description: |- @@ -37878,18 +37072,6 @@ paths: summary: Create One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -37938,17 +37120,6 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/deleteCluster get: description: |- @@ -37993,17 +37164,6 @@ paths: summary: Return One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster patch: description: '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 Service Account or API Key must have the Project Owner role. For all other updates, the requesting Service Account or 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}' @@ -38050,18 +37210,6 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -38149,17 +37297,6 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceClusterMeasurements /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: @@ -38207,17 +37344,6 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespacesForCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForCluster /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration: get: @@ -38258,17 +37384,6 @@ paths: summary: Get cluster internal configuration of sharded cluster AutoScaling operations tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/autoScalingConfiguration?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api autoScalingConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/autoScalingConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -38307,17 +37422,6 @@ paths: summary: Return All Snapshot Export Jobs tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listBackupExportJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupExportJobs post: description: Exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket. To use this resource, the requesting Service Account or API Key must have the Project Atlas Admin role. @@ -38362,18 +37466,6 @@ paths: summary: Create One Snapshot Export Job tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: @@ -38416,17 +37508,6 @@ paths: summary: Return One Snapshot Export Job tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupExportJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupExportJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: @@ -38465,17 +37546,6 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listBackupRestoreJobs post: description: |- @@ -38524,18 +37594,6 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: @@ -38580,17 +37638,6 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - - label: Atlas CLI - lang: cURL - source: atlas api cancelBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/cancelBackupRestoreJob get: description: Returns one cloud backup restore job for one cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -38632,17 +37679,6 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: @@ -38679,17 +37715,6 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAllBackupSchedules --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteAllBackupSchedules get: description: '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 Service Account or API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -38724,17 +37749,6 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getBackupSchedule patch: description: '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 Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' @@ -38781,18 +37795,6 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateBackupSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateBackupSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -38833,17 +37835,6 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listReplicaSetBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listReplicaSetBackups post: description: |- @@ -38890,18 +37881,6 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api takeSnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/takeSnapshot /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: @@ -38944,17 +37923,6 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteReplicaSetBackup get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -39000,17 +37968,6 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getReplicaSetBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getReplicaSetBackup patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project, the requesting Service Account or API Key must have the Project Backup Manager role. @@ -39061,18 +38018,6 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateSnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/updateSnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: @@ -39113,17 +38058,6 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/deleteShardedClusterBackup get: description: Returns one snapshot of one sharded cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role or Project Backup Manager role. @@ -39169,17 +38103,6 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getShardedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getShardedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: @@ -39217,17 +38140,6 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listShardedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listShardedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: @@ -39280,18 +38192,6 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api downloadSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/downloadSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: @@ -39344,18 +38244,6 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/createSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: @@ -39399,17 +38287,6 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSharedClusterBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/listSharedClusterBackupRestoreJobs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: @@ -39460,17 +38337,6 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSharedClusterBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Restore-Jobs/operation/getSharedClusterBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: @@ -39514,17 +38380,6 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSharedClusterBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/listSharedClusterBackups /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: @@ -39575,17 +38430,6 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSharedClusterBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Shared-Tier-Snapshots/operation/getSharedClusterBackup /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: @@ -39625,17 +38469,6 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacyBackupCheckpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: @@ -39683,17 +38516,6 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacyBackupCheckpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: @@ -39730,17 +38552,6 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPinnedNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getPinnedNamespaces patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster. @@ -39790,18 +38601,6 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinNamespacesPatch --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPatch put: description: 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. @@ -39851,18 +38650,6 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinNamespacesPut --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/pinNamespacesPut /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: @@ -39906,18 +38693,6 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api unpinNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/unpinNamespaces /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: @@ -39968,18 +38743,6 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: @@ -40036,17 +38799,6 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: @@ -40096,17 +38848,6 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated get: @@ -40155,17 +38896,6 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated patch: @@ -40225,18 +38955,6 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2026-11-30" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: @@ -40278,17 +38996,6 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/getManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -40327,17 +39034,6 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAllCustomZoneMappings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -40385,18 +39081,6 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCustomZoneMapping --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createCustomZoneMapping /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -40447,17 +39131,6 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - - label: Atlas CLI - lang: cURL - source: atlas api deleteManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/deleteManagedNamespace post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -40507,18 +39180,6 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createManagedNamespace --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters/operation/createManagedNamespace /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -40629,18 +39290,6 @@ paths: summary: Create One Rolling Index tags: - Rolling Index - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createRollingIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Rolling-Index/operation/createRollingIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: @@ -40682,17 +39331,6 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOnlineArchives --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/listOnlineArchives post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -40741,18 +39379,6 @@ paths: summary: Create One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOnlineArchive --help x-xgen-changelog: "2023-08-02": If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/createOnlineArchive @@ -40798,17 +39424,6 @@ paths: summary: Remove One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/deleteOnlineArchive get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -40857,17 +39472,6 @@ paths: summary: Return One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/getOnlineArchive patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. @@ -40923,18 +39527,6 @@ paths: summary: Update One Online Archive tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOnlineArchive --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/updateOnlineArchive /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: @@ -41002,17 +39594,6 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadOnlineArchiveQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: @@ -41053,17 +39634,6 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - - label: Atlas CLI - lang: cURL - source: atlas api endOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation get: description: Returns one outage simulation for one cluster. @@ -41107,17 +39677,6 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation post: description: Starts a cluster outage simulation. @@ -41164,18 +39723,6 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api startOutageSimulation --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions: get: @@ -41211,17 +39758,6 @@ paths: summary: Returns Suggested Indexes to Drop tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/dropIndexSuggestions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDropIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listDropIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice: get: @@ -41257,17 +39793,6 @@ paths: summary: Return Schema Advice tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/schemaAdvice?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSchemaAdvice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSchemaAdvice /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes: get: @@ -41346,17 +39871,6 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/performanceAdvisor/suggestedIndexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listClusterSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listClusterSuggestedIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: @@ -41399,17 +39913,6 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterAdvancedConfiguration patch: description: '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 Service Account or 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}' @@ -41457,18 +39960,6 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateClusterAdvancedConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/updateClusterAdvancedConfiguration /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -41502,18 +39993,6 @@ paths: summary: Test Failover for One Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api testFailover --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/testFailover /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: @@ -41567,17 +40046,6 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacyBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs post: deprecated: true @@ -41625,18 +40093,6 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: @@ -41691,17 +40147,6 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacyBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: @@ -41739,17 +40184,6 @@ paths: summary: Delete Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchDeployment get: description: 'Returns the Search Nodes for the specified cluster. Deprecated versions: v2-{2024-05-30}, v2-{2023-01-01}' @@ -41786,17 +40220,6 @@ paths: summary: Return Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchDeployment --help x-xgen-changelog: "2025-03-12": Updates the return of the API when no nodes exist, the endpoint returns 200 with an empty JSON ({}) instead of 400. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchDeployment @@ -41844,18 +40267,6 @@ paths: summary: Update Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchDeployment post: description: Creates Search Nodes for the specified cluster. @@ -41901,18 +40312,6 @@ paths: summary: Create Search Nodes tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchDeployment --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchDeployment /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: @@ -41963,17 +40362,6 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexesCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexesCluster post: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42022,18 +40410,6 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/createAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: @@ -42096,17 +40472,6 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasSearchIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/listAtlasSearchIndexes /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: @@ -42163,17 +40528,6 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndexByName get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -42231,17 +40585,6 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndexByName patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42308,18 +40651,6 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndexByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndexByName /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: @@ -42367,17 +40698,6 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/deleteAtlasSearchIndex get: description: 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 Service Account or API Key must have the Project Data Access Read Write role. @@ -42432,17 +40752,6 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/getAtlasSearchIndex patch: description: 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 Service Account or API Key must have the Project Data Access Admin role. @@ -42500,18 +40809,6 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasSearchIndex --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Atlas-Search/operation/updateAtlasSearchIndex /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -42556,17 +40853,6 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule patch: deprecated: true @@ -42617,18 +40903,6 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateLegacySnapshotSchedule --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: @@ -42681,17 +40955,6 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listLegacySnapshots --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/listLegacySnapshots /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: @@ -42738,17 +41001,6 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/deleteLegacySnapshot get: deprecated: true @@ -42796,17 +41048,6 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLegacySnapshot --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/getLegacySnapshot patch: deprecated: true @@ -42859,18 +41100,6 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateLegacySnapshotRetention --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: @@ -42908,17 +41137,6 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getClusterStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getClusterStatus /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess: post: @@ -42964,18 +41182,6 @@ paths: summary: Grant MongoDB employee cluster access for one cluster. tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:grantMongoDBEmployeeAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api grantMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/grantMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: @@ -43020,18 +41226,6 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/pinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess: post: @@ -43069,18 +41263,6 @@ paths: summary: Revoke granted MongoDB employee cluster access for one cluster. tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:revokeMongoDBEmployeeAccess" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api revokeMongoDbEmployeeAccess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/revokeMongoDbEmployeeAccess /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: @@ -43120,18 +41302,6 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api unpinFeatureCompatibilityVersion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/unpinFeatureCompatibilityVersion /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: @@ -43200,17 +41370,6 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getHostLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostLogs /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: @@ -43254,17 +41413,6 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCloudProviderRegions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/listCloudProviderRegions /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: @@ -43309,18 +41457,6 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeSharedCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedCluster /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: @@ -43369,18 +41505,6 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeSharedClusterToServerless --help x-sunset: "2025-02-05" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/upgradeSharedClusterToServerless /api/atlas/v2/groups/{groupId}/collStats/metrics: @@ -43409,17 +41533,6 @@ paths: summary: Return all metric names tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceMetrics /api/atlas/v2/groups/{groupId}/containers: get: @@ -43464,17 +41577,6 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringContainerByCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43513,18 +41615,6 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringContainer /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: @@ -43563,17 +41653,6 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringContainer get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43611,17 +41690,6 @@ paths: summary: Return One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringContainer patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -43668,18 +41736,6 @@ paths: summary: Update One Network Peering Container tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePeeringContainer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringContainer /api/atlas/v2/groups/{groupId}/containers/all: get: @@ -43711,17 +41767,6 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringContainers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringContainers /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: @@ -43754,17 +41799,6 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listCustomDatabaseRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles post: description: Creates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -43803,18 +41837,6 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: @@ -43851,17 +41873,6 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole get: description: Returns one custom role for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -43895,17 +41906,6 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole patch: description: Updates one custom role in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -43950,18 +41950,6 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateCustomDatabaseRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole /api/atlas/v2/groups/{groupId}/dataFederation: get: @@ -44007,17 +41995,6 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFederatedDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listFederatedDatabases post: description: Creates one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles. @@ -44060,18 +42037,6 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: @@ -44104,17 +42069,6 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteFederatedDatabase get: description: Returns the details of one federated database instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -44152,17 +42106,6 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getFederatedDatabase patch: description: Updates the details of one federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or higher role. @@ -44211,18 +42154,6 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateFederatedDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/updateFederatedDatabase /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: @@ -44265,17 +42196,6 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnFederatedDatabaseQueryLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: @@ -44328,17 +42248,6 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOneDataFederationInstanceQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit get: description: Returns the details of one query limit for the specified federated database instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44393,17 +42302,6 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnFederatedDatabaseQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit patch: description: Creates or updates one query limit for one federated database instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -44464,18 +42362,6 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOneDataFederationQueryLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createOneDataFederationQueryLimit /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: @@ -44530,17 +42416,6 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadFederatedDatabaseQueryLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs /api/atlas/v2/groups/{groupId}/databaseUsers: get: @@ -44572,17 +42447,6 @@ paths: summary: Return All Database Users from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabaseUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/listDatabaseUsers post: description: 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 Service Account or 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. @@ -44715,18 +42579,6 @@ paths: summary: Create One Database User in One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: @@ -44783,17 +42635,6 @@ paths: summary: Remove One Database User from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/deleteDatabaseUser get: description: Returns one database user that belong to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -44851,17 +42692,6 @@ paths: summary: Return One Database User from One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/getDatabaseUser patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role, Project Charts Admin role, Project Stream Processing Owner role, or the Project Database Access Admin role. @@ -44930,18 +42760,6 @@ paths: summary: Update One Database User in One Project tags: - Database Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateDatabaseUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/updateDatabaseUser /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: @@ -44981,17 +42799,6 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabaseUserCertificates --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/listDatabaseUserCertificates post: description: |- @@ -45045,18 +42852,6 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDatabaseUserCertificate --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/createDatabaseUserCertificate /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: @@ -45129,17 +42924,6 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAccessLogsByClusterName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByClusterName /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: @@ -45209,17 +42993,6 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAccessLogsByHostname --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Access-Tracking/operation/listAccessLogsByHostname /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: @@ -45254,17 +43027,6 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest patch: description: |- @@ -45315,18 +43077,6 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateEncryptionAtRest --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: @@ -45367,17 +43117,6 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpointsForCloudProvider post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. @@ -45421,18 +43160,6 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/createEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: @@ -45475,17 +43202,6 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/requestEncryptionAtRestPrivateEndpointDeletion get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -45531,17 +43247,6 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRestPrivateEndpoint /api/atlas/v2/groups/{groupId}/events: get: @@ -45633,17 +43338,6 @@ paths: summary: Return All Events from One Project tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents /api/atlas/v2/groups/{groupId}/events/{eventId}: get: @@ -45693,17 +43387,6 @@ paths: summary: Return One Event from One Project tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getProjectEvent /api/atlas/v2/groups/{groupId}/flexClusters: get: @@ -45737,17 +43420,6 @@ paths: summary: Return All Flex Clusters from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexClusters --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters post: description: Creates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45788,18 +43460,6 @@ paths: summary: Create One Flex Cluster in One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}: delete: @@ -45837,17 +43497,6 @@ paths: summary: Remove One Flex Cluster from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster get: description: Returns details for one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -45888,17 +43537,6 @@ paths: summary: Return One Flex Cluster from One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster patch: description: Updates one flex cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -45944,18 +43582,6 @@ paths: summary: Update One Flex Cluster in One Project tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/flexClusters/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/updateFlexCluster /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download: post: @@ -46002,18 +43628,6 @@ paths: summary: Download One Flex Cluster Snapshot tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/download" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api downloadFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/downloadFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs: get: @@ -46054,17 +43668,6 @@ paths: summary: Return All Restore Jobs for One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs post: description: Restores one snapshot of one flex cluster from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -46110,18 +43713,6 @@ paths: summary: Restore One Snapshot of One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}: get: @@ -46166,17 +43757,6 @@ paths: summary: Return One Restore Job for One Flex Cluster tags: - Flex Restore Jobs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots: get: @@ -46217,17 +43797,6 @@ paths: summary: Return All Snapshots of One Flex Cluster tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listFlexBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups /api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}: get: @@ -46272,17 +43841,6 @@ paths: summary: Return One Snapshot of One Flex Cluster tags: - Flex Snapshots - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/flexClusters/{name}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFlexBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup /api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade: post: @@ -46324,18 +43882,6 @@ paths: summary: Upgrade One Flex Cluster tags: - Flex Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api upgradeFlexCluster --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: @@ -46366,17 +43912,6 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listMetricTypes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listMetricTypes /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: @@ -46439,17 +43974,6 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: @@ -46511,17 +44035,6 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listIndexMetrics --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listIndexMetrics /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: @@ -46580,17 +44093,6 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getMeasurements /api/atlas/v2/groups/{groupId}/integrations: get: @@ -46624,17 +44126,6 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listThirdPartyIntegrations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: @@ -46681,17 +44172,6 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46741,17 +44221,6 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46811,18 +44280,6 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. @@ -46882,18 +44339,6 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateThirdPartyIntegration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration /api/atlas/v2/groups/{groupId}/invites: get: @@ -46937,17 +44382,6 @@ paths: summary: Return All Project Invitations tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectInvitations patch: @@ -46986,18 +44420,6 @@ paths: summary: Update One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitation post: @@ -47034,18 +44456,6 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createProjectInvitation /api/atlas/v2/groups/{groupId}/invites/{invitationId}: @@ -47080,17 +44490,6 @@ paths: summary: Cancel One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectInvitation get: @@ -47129,17 +44528,6 @@ paths: summary: Return One Project Invitation tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectInvitation patch: @@ -47184,18 +44572,6 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectInvitationById /api/atlas/v2/groups/{groupId}/ipAddresses: @@ -47227,17 +44603,6 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnAllIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/returnAllIpAddresses /api/atlas/v2/groups/{groupId}/limits: get: @@ -47278,17 +44643,6 @@ paths: summary: Return All Limits for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectLimits --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listProjectLimits /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: @@ -47357,17 +44711,6 @@ paths: summary: Remove One Project Limit tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteProjectLimit get: description: Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -47439,17 +44782,6 @@ paths: summary: Return One Limit for One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLimit patch: description: |- @@ -47529,18 +44861,6 @@ paths: summary: Set One Project Limit tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api setProjectLimit --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/setProjectLimit /api/atlas/v2/groups/{groupId}/liveMigrations: post: @@ -47589,18 +44909,6 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -47630,17 +44938,6 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPushMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getPushMigration /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: @@ -47670,18 +44967,6 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api cutoverMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/cutoverMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: @@ -47720,18 +45005,6 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api validateMigration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/validateMigration /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -47769,17 +45042,6 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getValidationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/getValidationStatus /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: @@ -47807,17 +45069,6 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" - - label: Atlas CLI - lang: cURL - source: atlas api resetMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/resetMaintenanceWindow get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -47847,17 +45098,6 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/getMaintenanceWindow patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. Updating the maintenance window will reset any maintenance deferrals for this project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -47891,18 +45131,6 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/updateMaintenanceWindow /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: @@ -47930,18 +45158,6 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleMaintenanceAutoDefer --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: @@ -47969,18 +45185,6 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api deferMaintenanceWindow --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Maintenance-Windows/operation/deferMaintenanceWindow /api/atlas/v2/groups/{groupId}/managedSlowMs: get: @@ -48011,17 +45215,6 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getManagedSlowMs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getManagedSlowMs /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: @@ -48048,17 +45241,6 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - - label: Atlas CLI - lang: cURL - source: atlas api disableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/disableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: @@ -48085,18 +45267,6 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api enableSlowOperationThresholding --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/enableSlowOperationThresholding /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: @@ -48165,17 +45335,6 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectLtsVersions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectLtsVersions /api/atlas/v2/groups/{groupId}/peers: get: @@ -48221,17 +45380,6 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/listPeeringConnections post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. @@ -48273,18 +45421,6 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/createPeeringConnection /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: @@ -48322,17 +45458,6 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/deletePeeringConnection get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -48371,17 +45496,6 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/getPeeringConnection patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -48427,18 +45541,6 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/updatePeeringConnection /api/atlas/v2/groups/{groupId}/pipelines: get: @@ -48477,17 +45579,6 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelines --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelines post: @@ -48528,18 +45619,6 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/createPipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: @@ -48574,17 +45653,6 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipeline get: @@ -48625,17 +45693,6 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipeline patch: @@ -48682,18 +45739,6 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/updatePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: @@ -48740,17 +45785,6 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineSchedules --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: @@ -48802,17 +45836,6 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineSnapshots --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: @@ -48852,18 +45875,6 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api pausePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/pausePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: @@ -48903,18 +45914,6 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api resumePipeline --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/resumePipeline /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: @@ -48965,17 +45964,6 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPipelineRuns --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/listPipelineRuns /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: @@ -49023,17 +46011,6 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePipelineRunDataset --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset get: @@ -49082,17 +46059,6 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPipelineRun --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/getPipelineRun /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: @@ -49139,18 +46105,6 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api triggerSnapshotIngestion --help x-sunset: "2025-09-09" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: @@ -49203,17 +46157,6 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPrivateEndpointServices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: @@ -49262,17 +46205,6 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -49324,17 +46256,6 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: @@ -49396,18 +46317,6 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: @@ -49463,17 +46372,6 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @@ -49532,17 +46430,6 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: @@ -49583,18 +46470,6 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateEndpointService --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: @@ -49623,17 +46498,6 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting Service Account or API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. @@ -49670,18 +46534,6 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api toggleRegionalizedPrivateEndpointSetting --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: @@ -49729,17 +46581,6 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints post: description: |- @@ -49790,18 +46631,6 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: @@ -49846,17 +46675,6 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint get: description: |- @@ -49904,17 +46722,6 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint patch: description: |- @@ -49967,18 +46774,6 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServerlessPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateIpMode: get: @@ -50013,17 +46808,6 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject patch: deprecated: true @@ -50064,18 +46848,6 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api disablePeering --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Network-Peering/operation/disablePeering /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: @@ -50109,17 +46881,6 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDataFederationPrivateEndpoints --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints post: description: |- @@ -50175,18 +46936,6 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: @@ -50220,17 +46969,6 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint get: description: Returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only or Project Charts Admin roles. @@ -50267,17 +47005,6 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDataFederationPrivateEndpoint --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint /api/atlas/v2/groups/{groupId}/processes: get: @@ -50309,17 +47036,6 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listAtlasProcesses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listAtlasProcesses /api/atlas/v2/groups/{groupId}/processes/{processId}: get: @@ -50358,17 +47074,6 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getAtlasProcess /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -50438,17 +47143,6 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespaceHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: @@ -50480,17 +47174,6 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCollStatsLatencyNamespacesForHost --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Collection-Level-Metrics/operation/getCollStatsLatencyNamespacesForHost /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: @@ -50533,17 +47216,6 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDatabases --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDatabases /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: @@ -50588,17 +47260,6 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabase --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabase /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: @@ -50669,17 +47330,6 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDatabaseMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: @@ -50719,17 +47369,6 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDiskPartitions --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskPartitions /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: @@ -50773,17 +47412,6 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/listDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: @@ -50873,17 +47501,6 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getDiskMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getDiskMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: @@ -51086,17 +47703,6 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getHostMeasurements --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Monitoring-and-Logs/operation/getHostMeasurements /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: @@ -51155,17 +47761,6 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSlowQueryNamespaces --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueryNamespaces /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: @@ -51259,17 +47854,6 @@ paths: summary: Return Slow Queries tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSlowQueries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSlowQueries /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: @@ -51352,17 +47936,6 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSuggestedIndexes --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/listSuggestedIndexes /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: @@ -51391,17 +47964,6 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - - label: Atlas CLI - lang: cURL - source: atlas api deletePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/deletePushBasedLogConfiguration get: description: Fetches the current project level settings for the push-based log export feature. @@ -51432,17 +47994,6 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/getPushBasedLogConfiguration patch: description: Updates the project level settings for the push-based log export feature. @@ -51478,18 +48029,6 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updatePushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/updatePushBasedLogConfiguration post: description: Configures the project level settings for the push-based log export feature. @@ -51525,18 +48064,6 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPushBasedLogConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Push-Based-Log-Export/operation/createPushBasedLogConfiguration /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: @@ -51575,18 +48102,6 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api loadSampleDataset --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/loadSampleDataset /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: @@ -51623,17 +48138,6 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getSampleDatasetLoadStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getSampleDatasetLoadStatus /api/atlas/v2/groups/{groupId}/serverless: get: @@ -51673,17 +48177,6 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessInstances --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/listServerlessInstances post: description: |- @@ -51730,18 +48223,6 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: @@ -51788,17 +48269,6 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessBackupRestoreJobs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs post: description: |- @@ -51850,18 +48320,6 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: @@ -51914,17 +48372,6 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessBackupRestoreJob --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: @@ -51971,17 +48418,6 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServerlessBackups --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/listServerlessBackups /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: @@ -52034,17 +48470,6 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessBackup --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Backups/operation/getServerlessBackup /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: @@ -52083,17 +48508,6 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/getServerlessAutoIndexing post: description: Set whether the Serverless Auto Indexing feature is enabled. This endpoint sets a value for Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. However, the value returned is not indicative of the Auto Indexing state as Auto Indexing is unavailable for Flex clusters. This endpoint will be sunset in January 2026. @@ -52134,18 +48548,6 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api setServerlessAutoIndexing --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Performance-Advisor/operation/setServerlessAutoIndexing /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: @@ -52191,17 +48593,6 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/deleteServerlessInstance get: description: |- @@ -52248,17 +48639,6 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/getServerlessInstance patch: description: |- @@ -52310,18 +48690,6 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServerlessInstance --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/updateServerlessInstance /api/atlas/v2/groups/{groupId}/serviceAccounts: get: @@ -52352,17 +48720,6 @@ paths: summary: List All Project Service Accounts tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccounts post: description: Creates one Service Account for the specified Project. The Service Account will automatically be added as an Organization Member to the Organization that the specified Project is a part of. @@ -52400,18 +48757,6 @@ paths: summary: Create and Assign one Service Account to one Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}: delete: @@ -52447,17 +48792,6 @@ paths: summary: Unassign One Service Account from One Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccount get: description: Returns one Service Account in the specified Project. @@ -52495,17 +48829,6 @@ paths: summary: Get one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getProjectServiceAccount patch: description: Updates one Service Account in the specified Project. @@ -52550,18 +48873,6 @@ paths: summary: Update one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateProjectServiceAccount /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList: get: @@ -52601,17 +48912,6 @@ paths: summary: Return All Access List entries for one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listProjectServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the project. Resources require all API requests to originate from IP addresses on the API access list. @@ -52665,18 +48965,6 @@ paths: summary: Add Access List entries for one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountAccessList /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -52721,17 +49009,6 @@ paths: summary: Remove One Access List entry from one Project Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountAccessListEntry /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets: post: @@ -52777,18 +49054,6 @@ paths: summary: Create one Project Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -52829,17 +49094,6 @@ paths: summary: Delete one Project Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteProjectServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteProjectServiceAccountSecret /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite: post: @@ -52884,18 +49138,6 @@ paths: summary: Assign One Service Account to One Project tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}:invite" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/addProjectServiceAccount /api/atlas/v2/groups/{groupId}/settings: get: @@ -52926,17 +49168,6 @@ paths: summary: Return One Project Settings tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectSettings patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -52971,18 +49202,6 @@ paths: summary: Update One Project Settings tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectSettings /api/atlas/v2/groups/{groupId}/streams: get: @@ -53013,17 +49232,6 @@ paths: summary: Return All Project Stream Instances tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamInstances --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamInstances @@ -53062,18 +49270,6 @@ paths: summary: Create One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstance @@ -53108,17 +49304,6 @@ paths: summary: Delete One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamInstance @@ -53162,17 +49347,6 @@ paths: summary: Return One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamInstance @@ -53217,18 +49391,6 @@ paths: summary: Update One Stream Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateStreamInstance --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamInstance @@ -53286,17 +49448,6 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadStreamTenantAuditLogs --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/downloadStreamTenantAuditLogs /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: @@ -53333,17 +49484,6 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamConnections --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamConnections @@ -53390,18 +49530,6 @@ paths: summary: Create One Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamConnection @@ -53444,17 +49572,6 @@ paths: summary: Delete One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamConnection @@ -53497,17 +49614,6 @@ paths: summary: Return One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamConnection @@ -53560,18 +49666,6 @@ paths: summary: Update One Stream Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateStreamConnection --help x-xgen-changelog: "2023-09-11": The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateStreamConnection @@ -53619,18 +49713,6 @@ paths: summary: Create One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: @@ -53669,17 +49751,6 @@ paths: summary: Delete One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteStreamProcessor get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -53723,17 +49794,6 @@ paths: summary: Get One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getStreamProcessor patch: description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -53782,18 +49842,6 @@ paths: summary: Modify One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api modifyStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/modifyStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: @@ -53832,18 +49880,6 @@ paths: summary: Start One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api startStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith: post: @@ -53889,18 +49925,6 @@ paths: summary: Start One Stream Processor With Options tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api startStreamProcessorWith --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startStreamProcessorWith /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: @@ -53939,18 +49963,6 @@ paths: summary: Stop One Stream Processor tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api stopStreamProcessor --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: @@ -53993,17 +50005,6 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listStreamProcessors --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listStreamProcessors /api/atlas/v2/groups/{groupId}/streams/accountDetails: get: @@ -54043,17 +50044,6 @@ paths: summary: Returns the Account ID, and the VPC ID for the group and region specified. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/accountDetails?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAccountDetails --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getAccountDetails /api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections: get: @@ -54082,17 +50072,6 @@ paths: summary: Returns all the active incoming VPC Peering Connections. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/activeVpcPeeringConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getActiveVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getActiveVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/privateLinkConnections: get: @@ -54123,17 +50102,6 @@ paths: summary: Return All Private Link tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPrivateLinkConnections --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listPrivateLinkConnections @@ -54174,18 +50142,6 @@ paths: summary: Create One Private Link connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createPrivateLinkConnection @@ -54220,17 +50176,6 @@ paths: summary: Delete One Private Link connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}" - - label: Atlas CLI - lang: cURL - source: atlas api deletePrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deletePrivateLinkConnection @@ -54265,17 +50210,6 @@ paths: summary: Return One PrivateLink Connection tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/privateLinkConnections/{connectionId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getPrivateLinkConnection --help x-xgen-changelog: "2024-10-02": The MongoDB Atlas Streams Processing Private Link API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getPrivateLinkConnection @@ -54312,17 +50246,6 @@ paths: summary: Return All VPC Peering Connections. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getVpcPeeringConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getVpcPeeringConnections /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}: delete: @@ -54354,17 +50277,6 @@ paths: summary: Deletes an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept: post: @@ -54403,18 +50315,6 @@ paths: summary: Requests the acceptance of an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:accept" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api acceptVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/acceptVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject: post: @@ -54446,18 +50346,6 @@ paths: summary: Requests the rejection of an incoming VPC Peering connection. tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/vpcPeeringConnections/{id}:reject" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api rejectVpcPeeringConnection --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: @@ -54495,18 +50383,6 @@ paths: summary: Create One Stream Instance With Sample Connections tags: - Streams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams:withSampleConnections" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createStreamInstanceWithSampleConnections --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createStreamInstanceWithSampleConnections /api/atlas/v2/groups/{groupId}/teams: get: @@ -54540,17 +50416,6 @@ paths: summary: Return All Teams in One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listProjectTeams post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -54592,18 +50457,6 @@ paths: summary: Add One or More Teams to One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addAllTeamsToProject --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addAllTeamsToProject /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: @@ -54641,17 +50494,6 @@ paths: summary: Remove One Team from One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeProjectTeam patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @@ -54698,18 +50540,6 @@ paths: summary: Update Team Roles in One Project tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateTeamRoles --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/updateTeamRoles /api/atlas/v2/groups/{groupId}/userSecurity: get: @@ -54741,17 +50571,6 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfiguration patch: description: |- @@ -54791,18 +50610,6 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api saveLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/saveLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: @@ -54833,17 +50640,6 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - - label: Atlas CLI - lang: cURL - source: atlas api disableCustomerManagedX509 --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/X.509-Authentication/operation/disableCustomerManagedX509 /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: @@ -54872,17 +50668,6 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/deleteLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: @@ -54920,18 +50705,6 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api verifyLdapConfiguration --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/verifyLdapConfiguration /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: @@ -54967,17 +50740,6 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getLdapConfigurationStatus --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus /api/atlas/v2/groups/{groupId}/users: get: @@ -55041,17 +50803,6 @@ paths: summary: Return All MongoDB Cloud Users in One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listProjectUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listProjectUsers post: description: "Adds one MongoDB Cloud user to one project. To use this resource, the requesting Service Account or API Key must have the Project Owner role. \n- If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access. \n- If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access. \n- If the user is already active in the project's organization, MongoDB Cloud grants access to the project. \n" @@ -55090,18 +50841,6 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}: delete: @@ -55147,17 +50886,6 @@ paths: summary: Remove One MongoDB Cloud User from One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectUser get: description: |- @@ -55199,17 +50927,6 @@ paths: summary: Return One MongoDB Cloud User in One Project tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getProjectUser /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: @@ -55253,18 +50970,6 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateProjectRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateProjectRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: @@ -55318,18 +51023,6 @@ paths: summary: Add One Project Role to One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:addRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addProjectRole /api/atlas/v2/groups/{groupId}/users/{userId}:removeRole: post: @@ -55382,18 +51075,6 @@ paths: summary: Remove One Project Role from One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/users/{userId}:removeRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeProjectRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeProjectRole /api/atlas/v2/groups/{groupId}:migrate: post: @@ -55428,18 +51109,6 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/groups/{groupId}:migrate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api migrateProjectToAnotherOrg --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/migrateProjectToAnotherOrg /api/atlas/v2/groups/byName/{groupName}: get: @@ -55479,52 +51148,7 @@ paths: summary: Return One Project using Its Name tags: - Projects - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getProjectByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName - /api/atlas/v2/openapi/info: - get: - description: 'This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}' - operationId: getOpenApiInfo - parameters: - - $ref: '#/components/parameters/pretty' - responses: - "200": - content: - application/vnd.atlas.2024-08-05+json: - schema: - $ref: '#/components/schemas/OpenApiInfo' - x-xgen-version: "2024-08-05" - description: OK - "401": - $ref: '#/components/responses/unauthorized' - "403": - $ref: '#/components/responses/forbidden' - "500": - $ref: '#/components/responses/internalServerError' - summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. - tags: - - OpenAPI - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/openapi/info?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOpenApiInfo --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55563,17 +51187,6 @@ paths: summary: Return All Organizations tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizations --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizations post: description: Creates one organization in MongoDB Cloud and links it to the requesting Service Account's or API Key's organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. The requesting Service Account's or API Key's organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation. @@ -55616,18 +51229,6 @@ paths: summary: Create One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganization /api/atlas/v2/orgs/{orgId}: delete: @@ -55664,17 +51265,6 @@ paths: summary: Remove One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganization get: description: Returns one organization to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55708,17 +51298,6 @@ paths: summary: Return One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganization patch: description: Updates one organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -55757,18 +51336,6 @@ paths: summary: Update One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganization --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganization /api/atlas/v2/orgs/{orgId}/apiKeys: get: @@ -55803,17 +51370,6 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listApiKeys --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeys post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -55851,18 +51407,6 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: @@ -55899,17 +51443,6 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKey get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -55949,17 +51482,6 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKey patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -56006,18 +51528,6 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateApiKey --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/updateApiKey /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: @@ -56059,17 +51569,6 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listApiKeyAccessListsEntries --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Read Write role. @@ -56120,18 +51619,6 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: @@ -56178,17 +51665,6 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteApiKeyAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -56234,17 +51710,6 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiKeyAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: @@ -56281,18 +51746,6 @@ paths: summary: Create Cost Explorer query process tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/createCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: @@ -56339,17 +51792,6 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getCostExplorerQueryProcess --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getCostExplorerQueryProcess /api/atlas/v2/orgs/{orgId}/events: get: @@ -56422,17 +51864,6 @@ paths: summary: Return All Events from One Organization tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationEvents --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: @@ -56482,17 +51913,6 @@ paths: summary: Return One Event from One Organization tags: - Events - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationEvent --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/getOrganizationEvent /api/atlas/v2/orgs/{orgId}/federationSettings: get: @@ -56525,17 +51945,6 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getFederationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/getFederationSettings /api/atlas/v2/orgs/{orgId}/groups: get: @@ -56586,17 +51995,6 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationProjects /api/atlas/v2/orgs/{orgId}/invites: get: @@ -56648,17 +52046,6 @@ paths: summary: Return All Organization Invitations tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationInvitations --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationInvitations patch: @@ -56703,18 +52090,6 @@ paths: summary: Update One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitation post: @@ -56759,18 +52134,6 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrganizationInvitation /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: @@ -56813,17 +52176,6 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrganizationInvitation get: @@ -56869,17 +52221,6 @@ paths: summary: Return One Organization Invitation tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationInvitation --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationInvitation patch: @@ -56931,18 +52272,6 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationInvitationById --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationInvitationById /api/atlas/v2/orgs/{orgId}/invoices: @@ -57035,17 +52364,6 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listInvoices /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: @@ -57091,17 +52409,6 @@ paths: summary: Return One Organization Invoice tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/getInvoice /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: @@ -57146,17 +52453,6 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api downloadInvoiceCsv --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/downloadInvoiceCsv /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search: get: @@ -57202,17 +52498,6 @@ paths: summary: Query lineItems of the specified invoiceId tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems:search?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api queryLineItemsFromSingleInvoice --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/queryLineItemsFromSingleInvoice /api/atlas/v2/orgs/{orgId}/invoices/pending: get: @@ -57241,17 +52526,6 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listPendingInvoices --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listPendingInvoices /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: @@ -57286,17 +52560,6 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listSourceProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/listSourceProjects /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: @@ -57324,17 +52587,6 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - - label: Atlas CLI - lang: cURL - source: atlas api deleteLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/deleteLinkToken post: description: 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. @@ -57371,18 +52623,6 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createLinkToken --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Migration-Service/operation/createLinkToken /api/atlas/v2/orgs/{orgId}/nonCompliantResources: get: @@ -57423,17 +52663,6 @@ paths: summary: Return all non-compliant resources tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/nonCompliantResources?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getResourcesNonCompliant --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getResourcesNonCompliant /api/atlas/v2/orgs/{orgId}/resourcePolicies: get: @@ -57475,17 +52704,6 @@ paths: summary: Return all Atlas Resource Policies tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasResourcePolicies --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicies post: description: Create one Atlas Resource Policy for an org. @@ -57531,18 +52749,6 @@ paths: summary: Create one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/createAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}: delete: @@ -57584,17 +52790,6 @@ paths: summary: Delete one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/deleteAtlasResourcePolicy get: description: Return one Atlas Resource Policy for an org. @@ -57639,17 +52834,6 @@ paths: summary: Return one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/getAtlasResourcePolicy patch: description: Update one Atlas Resource Policy for an org. @@ -57705,18 +52889,6 @@ paths: summary: Update one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/resourcePolicies/{resourcePolicyId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/updateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/resourcePolicies:validate: post: @@ -57763,18 +52935,6 @@ paths: summary: Validate one Atlas Resource Policy tags: - Resource Policies - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/resourcePolicies:validate" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api validateAtlasResourcePolicy --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies/operation/validateAtlasResourcePolicy /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: @@ -57805,17 +52965,6 @@ paths: summary: List All Organization Service Accounts tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccounts --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccounts post: description: Creates one Service Account for the specified Organization. @@ -57852,18 +53001,6 @@ paths: summary: Create one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}: delete: @@ -57898,17 +53035,6 @@ paths: summary: Delete one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccount get: description: Returns the specified Service Account. @@ -57946,17 +53072,6 @@ paths: summary: Get one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/getServiceAccount patch: description: Updates the specified Service Account in the specified Organization. @@ -58001,18 +53116,6 @@ paths: summary: Update one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateServiceAccount --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/updateServiceAccount /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList: get: @@ -58052,17 +53155,6 @@ paths: summary: Return All Access List entries for one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountAccessList post: description: Add Access List Entries for the specified Service Account for the organization. Resources require all API requests to originate from IP addresses on the API access list. @@ -58116,18 +53208,6 @@ paths: summary: Add Access List entries for one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccountAccessList --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountAccessList /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}: delete: @@ -58172,17 +53252,6 @@ paths: summary: Remove One Access List entry from one Organization Service Account tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/accessList/{ipAddress}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccountAccessListEntry --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountAccessListEntry /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups: get: @@ -58224,17 +53293,6 @@ paths: summary: Return All Service Account Project assignments tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/groups?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listServiceAccountProjects --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/listServiceAccountProjects /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets: post: @@ -58280,18 +53338,6 @@ paths: summary: Create one Organization Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/createServiceAccountSecret /api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}: delete: @@ -58332,17 +53378,6 @@ paths: summary: Delete a Organization Service Account Secret tags: - Service Accounts - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{clientId}/secrets/{secretId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteServiceAccountSecret --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Service-Accounts/operation/deleteServiceAccountSecret /api/atlas/v2/orgs/{orgId}/settings: get: @@ -58373,17 +53408,6 @@ paths: summary: Return Settings for One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrganizationSettings patch: description: Updates the organization's settings. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58420,18 +53444,6 @@ paths: summary: Update Settings for One Organization tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationSettings --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationSettings /api/atlas/v2/orgs/{orgId}/teams: get: @@ -58468,17 +53480,6 @@ paths: summary: Return All Teams in One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationTeams --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listOrganizationTeams post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58520,18 +53521,6 @@ paths: summary: Create One Team in One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/createTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: @@ -58570,17 +53559,6 @@ paths: summary: Remove One Team from One Organization tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - - label: Atlas CLI - lang: cURL - source: atlas api deleteTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/deleteTeam get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -58620,17 +53598,6 @@ paths: summary: Return One Team using its ID tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getTeamById --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamById patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting Service Account or API Key must have the Organization Owner role. @@ -58679,18 +53646,6 @@ paths: summary: Rename One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api renameTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/renameTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: @@ -58752,17 +53707,6 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listTeamUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listTeamUsers post: deprecated: true @@ -58817,18 +53761,6 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: @@ -58879,17 +53811,6 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeTeamUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeTeamUser /api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser: @@ -58941,18 +53862,6 @@ paths: summary: Add One MongoDB Cloud User to One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:addUser" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addUserToTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addUserToTeam /api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser: post: @@ -59003,18 +53912,6 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}:removeUser" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeUserFromTeam --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeUserFromTeam /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: @@ -59054,17 +53951,6 @@ paths: summary: Return One Team using its Name tags: - Teams - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getTeamByName --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/getTeamByName /api/atlas/v2/orgs/{orgId}/users: get: @@ -59118,17 +54004,6 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api listOrganizationUsers --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers post: description: |- @@ -59170,18 +54045,6 @@ paths: summary: Add One MongoDB Cloud User to One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: @@ -59227,17 +54090,6 @@ paths: summary: Remove One MongoDB Cloud User From One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" - - label: Atlas CLI - lang: cURL - source: atlas api removeOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationUser get: description: |- @@ -59279,17 +54131,6 @@ paths: summary: Return One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getOrganizationUser patch: description: |- @@ -59341,18 +54182,6 @@ paths: summary: Update One MongoDB Cloud User in One Organization tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/users/{userId}" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/updateOrganizationUser /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: @@ -59396,18 +54225,6 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api updateOrganizationRoles --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrganizationRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: @@ -59463,18 +54280,6 @@ paths: summary: Add One Organization Role to One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:addRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api addOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/addOrganizationRole /api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole: post: @@ -59527,18 +54332,6 @@ paths: summary: Remove One Organization Role from One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/users/{userId}:removeRole" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api removeOrganizationRole --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/removeOrganizationRole /api/atlas/v2/unauth/controlPlaneIPAddresses: get: @@ -59560,65 +54353,7 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api returnAllControlPlaneIpAddresses --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses - /api/atlas/v2/unauth/openapi/versions: - get: - description: API that provides a list of available versionsfor a given environment. - operationId: getApiVersions - parameters: - - $ref: '#/components/parameters/envelope' - - $ref: '#/components/parameters/itemsPerPage' - - $ref: '#/components/parameters/pageNum' - - $ref: '#/components/parameters/pretty' - - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). - in: query - name: env - schema: - enum: - - dev - - qa - - prod - - stage - type: string - responses: - "200": - content: - application/vnd.atlas.2024-08-05+json: - schema: - $ref: '#/components/schemas/PaginatedApiVersions' - x-xgen-version: "2024-08-05" - application/vnd.atlas.2024-08-05+yaml: - schema: - $ref: '#/components/schemas/PaginatedApiVersions' - x-xgen-version: "2024-08-05" - description: OK - "500": - $ref: '#/components/responses/internalServerError' - summary: Provides a list of versions for a given environment. - tags: - - OpenAPI - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/unauth/openapi/versions?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getApiVersions --help /api/atlas/v2/users: post: deprecated: true @@ -59658,18 +54393,6 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X POST "/api/atlas/v2/users" - -d { } - - label: Atlas CLI - lang: cURL - source: atlas api createUser --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: @@ -59711,17 +54434,6 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getUser --help x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -59760,17 +54472,6 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users - x-codeSamples: - - label: curl - lang: cURL - source: |- - curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ - --digest \ - --header "Accept: application/vnd.atlas.2025-03-12+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" - - label: Atlas CLI - lang: cURL - source: atlas api getUserByUsername --help x-sunset: "2026-07-31" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername security: @@ -59848,8 +54549,6 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive - - description: Returns information about the MongoDB Atlas Specification. - name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. From a3cf10e22f7301f72d89cb95dda39dde291b37fc Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:17:22 +0200 Subject: [PATCH 05/13] fixes e2e tests by regenerating files to include samples --- .../openapi/filter/code_sample_test.go | 1 + .../data/split/dev/openapi-v2-2023-01-01.json | 4058 +++++++++++++- .../data/split/dev/openapi-v2-2023-01-01.yaml | 4615 ++++++++++++++-- .../data/split/dev/openapi-v2-2023-02-01.json | 4218 ++++++++++++++- .../data/split/dev/openapi-v2-2023-02-01.yaml | 3966 +++++++++++++- .../data/split/dev/openapi-v2-2023-10-01.json | 4392 ++++++++++++++- .../data/split/dev/openapi-v2-2023-10-01.yaml | 4120 +++++++++++++- .../data/split/dev/openapi-v2-2023-11-15.json | 4526 +++++++++++++++- .../data/split/dev/openapi-v2-2023-11-15.yaml | 4271 ++++++++++++++- .../data/split/dev/openapi-v2-2024-05-30.json | 4742 +++++++++++++++- .../data/split/dev/openapi-v2-2024-05-30.yaml | 4478 ++++++++++++++- .../data/split/dev/openapi-v2-2024-08-05.json | 4742 +++++++++++++++- .../data/split/dev/openapi-v2-2024-08-05.yaml | 4478 ++++++++++++++- .../data/split/dev/openapi-v2-2025-01-01.json | 4814 ++++++++++++++++- .../data/split/dev/openapi-v2-2025-01-01.yaml | 4546 +++++++++++++++- 15 files changed, 61477 insertions(+), 490 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample_test.go b/tools/cli/internal/openapi/filter/code_sample_test.go index 8591f69a25..9ac90f8be1 100644 --- a/tools/cli/internal/openapi/filter/code_sample_test.go +++ b/tools/cli/internal/openapi/filter/code_sample_test.go @@ -222,6 +222,7 @@ func TestCodeSampleFilter(t *testing.T) { } for _, tt := range testCases { + t.Parallel() t.Run(tt.name, func(t *testing.T) { oas := tt.oas version, err := apiversion.New(apiversion.WithVersion(tt.version)) diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json index 3a3a8f3e36..9ff189d3c7 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json @@ -238,6 +238,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -283,6 +295,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -334,6 +358,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -385,6 +421,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -427,6 +475,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -481,6 +541,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -542,6 +614,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -601,6 +685,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -671,6 +767,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -722,6 +830,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -782,6 +902,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -843,6 +975,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -905,6 +1049,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -978,6 +1134,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1064,6 +1232,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] } }, @@ -1127,6 +1307,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" }, "patch": { @@ -1196,6 +1388,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" } }, @@ -1244,6 +1448,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1298,6 +1514,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1372,6 +1600,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1434,6 +1674,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1482,6 +1734,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1528,6 +1792,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1591,6 +1867,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1649,6 +1937,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1725,6 +2025,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -1788,6 +2100,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -1852,6 +2176,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -1917,6 +2253,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -1971,6 +2319,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2028,6 +2388,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2086,6 +2458,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2145,6 +2529,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2215,6 +2611,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2288,6 +2696,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2358,6 +2778,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2428,6 +2860,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2488,6 +2932,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2562,6 +3018,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -2631,6 +3099,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2689,6 +3169,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2743,6 +3235,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -2807,6 +3311,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -2885,6 +3401,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -2954,6 +3482,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -2999,6 +3539,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3056,6 +3608,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3101,6 +3665,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3155,6 +3731,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3211,6 +3799,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], "x-sunset": "2025-05-30" }, "post": { @@ -3275,6 +3875,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3336,6 +3948,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3394,6 +4018,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3444,6 +4080,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } + ], "x-sunset": "2024-10-01" }, "put": { @@ -3517,6 +4165,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } + ], "x-sunset": "2024-10-01" } }, @@ -3562,6 +4222,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3620,6 +4292,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3689,6 +4373,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -3746,6 +4442,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -3822,6 +4530,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -3887,6 +4607,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-sunset": "2025-06-01" }, "post": { @@ -3955,6 +4687,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -4028,6 +4772,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4096,6 +4852,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4164,6 +4932,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4237,6 +5017,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -4300,6 +5092,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -4377,6 +5181,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -4443,6 +5259,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4515,6 +5343,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4578,6 +5418,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4644,6 +5496,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -4719,6 +5583,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -4791,6 +5667,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -4858,6 +5746,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -4917,6 +5817,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-sunset": "2025-08-05" }, "get": { @@ -4974,6 +5886,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" }, "patch": { @@ -5045,6 +5969,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" } }, @@ -5114,6 +6050,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5183,6 +6131,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5252,6 +6212,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5322,6 +6294,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5382,6 +6366,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5454,6 +6450,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5524,6 +6532,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5605,6 +6625,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5685,6 +6717,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -5762,6 +6806,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -5822,6 +6878,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -5894,6 +6962,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -5954,6 +7034,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6026,6 +7118,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6093,6 +7197,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6169,6 +7285,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6249,6 +7377,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6333,6 +7473,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6411,6 +7563,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -6484,6 +7648,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -6574,6 +7750,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6637,6 +7825,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6700,6 +7900,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-sunset": "2025-06-01" }, "post": { @@ -6775,6 +7987,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6857,6 +8081,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-sunset": "2025-06-01" }, "post": { @@ -6935,6 +8171,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7098,6 +8346,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7168,6 +8428,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7247,6 +8519,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7344,6 +8628,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -7420,6 +8716,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -7497,6 +8805,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -7588,6 +8908,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -7655,6 +8987,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -7720,6 +9064,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -7793,6 +9149,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -7859,6 +9227,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -7938,6 +9318,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7994,6 +9386,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -8075,6 +9479,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8145,6 +9561,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8218,6 +9646,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8280,6 +9720,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "get": { @@ -8340,6 +9792,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8414,6 +9878,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -8488,6 +9964,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8546,6 +10034,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -8613,6 +10113,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -8694,6 +10206,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -8767,6 +10291,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -8835,6 +10371,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -8914,6 +10462,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -8971,6 +10531,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -9078,6 +10650,18 @@ "tags": [ "Monitoring and Logs" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -9146,10 +10730,22 @@ { "DigestAuth": [] } - ], - "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", - "tags": [ - "Network Peering" + ], + "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", + "tags": [ + "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -9216,6 +10812,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -9270,6 +10878,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -9337,6 +10957,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -9393,6 +11025,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -9472,6 +11116,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -9520,6 +11176,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -9586,6 +11254,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -9646,6 +11326,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -9701,6 +11393,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -9776,6 +11480,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -9837,6 +11553,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -9900,6 +11628,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -9954,6 +11694,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -10009,6 +11761,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -10084,6 +11848,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -10144,6 +11920,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -10210,6 +11998,18 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } ] }, "get": { @@ -10277,6 +12077,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -10358,6 +12170,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -10442,6 +12266,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -10496,6 +12332,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -10714,6 +12562,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -10784,6 +12644,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -10849,6 +12721,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -10934,6 +12818,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -11000,6 +12896,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -11080,6 +12988,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -11191,6 +13111,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -11299,6 +13231,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -11344,6 +13288,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -11407,6 +13363,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -11464,6 +13432,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -11530,6 +13510,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11610,6 +13602,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -11677,6 +13681,18 @@ "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11798,6 +13814,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -11867,6 +13895,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -11915,6 +13955,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -12009,6 +14061,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -12106,6 +14170,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -12195,6 +14271,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -12255,6 +14343,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -12328,6 +14428,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -12399,6 +14511,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -12493,6 +14617,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -12584,6 +14720,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -12643,6 +14791,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -12705,6 +14865,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -12761,6 +14933,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -12817,6 +15001,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -12877,6 +15073,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -12948,6 +15156,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -12996,6 +15216,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -13053,6 +15285,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -13128,6 +15372,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -13204,6 +15460,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -13291,6 +15559,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -13360,6 +15640,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13429,6 +15721,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13493,6 +15797,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -13547,6 +15863,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -13601,6 +15929,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -13643,6 +15983,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -13686,6 +16038,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -13740,6 +16104,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -13782,6 +16158,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -13824,6 +16212,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -13869,6 +16269,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -13914,6 +16326,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -13959,6 +16383,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -14065,6 +16501,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -14136,6 +16584,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -14203,6 +16663,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -14263,6 +16735,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -14321,6 +16805,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -14396,6 +16892,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -14444,6 +16952,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -14501,6 +17021,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -14558,6 +17090,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -14616,6 +17160,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -14688,6 +17244,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -14751,6 +17319,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -14782,7 +17362,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -14830,6 +17410,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -14890,6 +17482,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -14950,6 +17554,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -14981,7 +17597,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -15029,6 +17645,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -15102,6 +17730,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -15173,6 +17813,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -15244,6 +17896,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -15304,6 +17968,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -15352,6 +18028,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -15409,6 +18097,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -15468,6 +18168,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -15537,6 +18249,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -15605,6 +18329,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -15671,6 +18407,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -15748,6 +18496,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -15811,6 +18571,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -15883,6 +18655,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -15956,6 +18740,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -16048,6 +18844,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -16130,6 +18938,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -16213,6 +19033,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -16263,6 +19095,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -16325,6 +19169,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -16385,6 +19241,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -16442,6 +19310,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -16502,6 +19382,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -16563,6 +19455,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -16617,6 +19521,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -16673,6 +19589,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -16738,6 +19666,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -16803,6 +19743,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -16907,6 +19859,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -16972,6 +19936,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -17034,6 +20010,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -17147,6 +20135,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -17367,6 +20367,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -17441,6 +20453,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -17539,6 +20563,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -17653,6 +20689,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -17704,6 +20752,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -17753,6 +20813,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -17814,6 +20886,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -17875,6 +20959,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -17935,6 +21031,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -17989,6 +21097,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -18043,6 +21163,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -18103,6 +21235,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -18172,6 +21316,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -18247,6 +21403,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -18319,6 +21487,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -18388,6 +21568,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -18458,6 +21650,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -18515,6 +21719,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -18576,6 +21792,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -18639,6 +21867,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -18700,6 +21940,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -18769,6 +22021,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -18820,6 +22084,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -18880,6 +22156,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -18943,6 +22231,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -19013,6 +22313,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -19077,6 +22389,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -19156,6 +22480,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -19201,6 +22537,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -19258,6 +22606,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -19300,6 +22660,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -19345,6 +22717,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -19404,6 +22788,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -19461,6 +22857,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -19533,6 +22941,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -19593,6 +23013,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -19667,6 +23099,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -19735,6 +23179,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -19798,6 +23254,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -19852,6 +23320,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -19904,6 +23384,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -19967,6 +23459,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -20025,6 +23529,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -20083,6 +23599,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -20144,6 +23672,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -20203,6 +23743,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -20276,6 +23828,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -20346,6 +23910,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -20430,6 +24006,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -20508,6 +24096,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -20581,6 +24181,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -20637,6 +24249,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -20706,6 +24330,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -20766,7 +24402,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -20799,6 +24435,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -20868,6 +24516,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -20919,6 +24579,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -20987,6 +24659,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -21050,6 +24734,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -21110,6 +24806,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -21170,6 +24878,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -21230,6 +24950,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -21288,6 +25020,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -21360,6 +25104,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -21496,6 +25252,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -21544,6 +25312,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -21610,6 +25390,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -21669,6 +25461,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -21720,6 +25524,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -21765,6 +25581,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -21822,6 +25650,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -21873,6 +25713,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -21933,6 +25785,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -21997,6 +25861,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -22064,6 +25940,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -22128,6 +26016,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -22195,6 +26095,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -22260,6 +26172,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -22339,6 +26263,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -22415,6 +26351,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -22497,6 +26445,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -22573,6 +26533,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -22633,6 +26605,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -22696,6 +26680,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -22770,6 +26766,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -22826,6 +26834,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -22881,6 +26901,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -22938,6 +26970,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml index 1a7646052b..f34cfd950f 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml @@ -28281,7 +28281,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/SystemStatus' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": description: Unauthorized. @@ -28292,6 +28292,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -28307,7 +28318,7 @@ paths: items: $ref: '#/components/schemas/MatcherFieldView' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -28318,6 +28329,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -28334,7 +28356,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedOrgGroupView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -28345,6 +28367,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -28361,7 +28394,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedEventTypeDetailsResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -28372,6 +28405,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -28382,7 +28426,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: No Content "400": $ref: '#/components/responses/badRequest' @@ -28397,6 +28441,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -28412,7 +28467,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedConnectedOrgConfigsView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28427,6 +28482,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -28450,7 +28516,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -28465,6 +28531,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -28487,7 +28564,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ConnectedOrgConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28502,6 +28579,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -28531,7 +28619,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ConnectedOrgConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28546,6 +28634,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -28560,7 +28660,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedRoleMappingView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28575,6 +28675,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -28595,7 +28706,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AuthFederationRoleMapping' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28610,6 +28721,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -28632,7 +28755,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: No Content "400": $ref: '#/components/responses/badRequest' @@ -28647,6 +28770,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -28670,7 +28804,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AuthFederationRoleMapping' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28685,6 +28819,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -28715,7 +28860,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AuthFederationRoleMapping' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28730,6 +28875,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -28767,7 +28924,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedFederationIdentityProvider' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28782,6 +28939,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: get: deprecated: true @@ -28803,7 +28971,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/FederationSamlIdentityProvider' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28820,7 +28988,18 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication - x-sunset: "2025-01-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help + x-sunset: "2025-01-01" patch: deprecated: true description: |- @@ -28851,7 +29030,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/FederationSamlIdentityProvider' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28866,7 +29045,19 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication - x-sunset: "2025-01-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help + x-sunset: "2025-01-01" /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: description: Returns the metadata of one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -28880,7 +29071,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28895,6 +29086,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -28911,7 +29113,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAtlasGroupView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28924,6 +29126,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -28951,7 +29164,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Group' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -28970,6 +29183,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -28984,7 +29209,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -28997,6 +29222,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -29010,7 +29246,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Group' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29023,6 +29259,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -29043,7 +29290,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Group' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29060,6 +29307,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29080,7 +29339,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedNetworkAccessView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29091,6 +29350,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -29119,7 +29389,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedNetworkAccessView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29134,6 +29404,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29164,7 +29446,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "403": $ref: '#/components/responses/forbidden' @@ -29177,6 +29459,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -29201,7 +29494,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NetworkPermissionEntry' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29216,6 +29509,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -29238,7 +29542,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NetworkPermissionEntryStatus' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29255,6 +29559,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -29275,7 +29590,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAlertConfigView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29286,6 +29601,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -29309,7 +29635,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupAlertsConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29322,6 +29648,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -29347,7 +29685,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: No Content "401": $ref: '#/components/responses/unauthorized' @@ -29360,6 +29698,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -29386,7 +29735,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupAlertsConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29399,6 +29748,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -29434,7 +29794,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupAlertsConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29447,6 +29807,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -29482,7 +29854,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupAlertsConfig' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29497,6 +29869,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -29527,7 +29911,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAlertView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29540,6 +29924,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -29569,7 +29964,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAlertView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29582,6 +29977,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -29608,7 +30014,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AlertViewForNdsGroup' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29621,6 +30027,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: deprecated: true description: |- @@ -29654,7 +30071,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AlertViewForNdsGroup' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29669,7 +30086,19 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help + x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: description: |- @@ -29699,7 +30128,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAlertConfigView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29712,6 +30141,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -29732,7 +30172,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiApiUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29743,6 +30183,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -29763,7 +30214,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiKeyUserDetails' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29774,6 +30225,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -29800,7 +30263,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -29813,6 +30276,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -29845,7 +30319,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiKeyUserDetails' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29858,6 +30332,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -29889,7 +30375,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -29900,6 +30386,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -29914,7 +30412,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AuditLog' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -29925,6 +30423,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -29945,7 +30454,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AuditLog' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -29958,6 +30467,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -29972,7 +30493,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AWSCustomDNSEnabledView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -29983,6 +30504,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -30003,7 +30535,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AWSCustomDNSEnabledView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30014,6 +30546,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: deprecated: true @@ -30032,7 +30576,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedBackupSnapshotExportBucketView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30043,7 +30587,18 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help + x-sunset: "2025-05-30" post: deprecated: true description: Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role. @@ -30057,8 +30612,8 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotAWSExportBucket' - x-sunset: "2025-05-30T00:00:00Z" - x-xgen-version: "2023-01-01T00:00:00Z" + x-sunset: "2025-05-30" + x-xgen-version: "2023-01-01" description: Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. required: true responses: @@ -30067,7 +30622,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotAWSExportBucket' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30082,7 +30637,19 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help + x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: description: Revoke MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This prevents this Export Bucket from receiving Atlas Cloud Backup Snapshots. 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 Owner role. @@ -30106,7 +30673,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -30121,6 +30688,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: deprecated: true description: Returns one AWS S3 Bucket or Azure Blob Storage Container associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -30144,7 +30722,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotAWSExportBucket' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30157,7 +30735,18 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help + x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: deprecated: true @@ -30173,7 +30762,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataProtectionSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30186,7 +30775,18 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups - x-sunset: "2024-10-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help + x-sunset: "2024-10-01" put: deprecated: true description: Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30206,8 +30806,8 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataProtectionSettings' - x-sunset: "2024-10-01T00:00:00Z" - x-xgen-version: "2023-01-01T00:00:00Z" + x-sunset: "2024-10-01" + x-xgen-version: "2023-01-01" description: The new Backup Compliance Policy settings. required: true responses: @@ -30216,7 +30816,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataProtectionSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30231,7 +30831,19 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups - x-sunset: "2024-10-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help + x-sunset: "2024-10-01" /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -30246,7 +30858,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderAccessRoles' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30257,6 +30869,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -30280,7 +30903,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderAccessRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30291,6 +30914,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -30320,7 +30955,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: No Content "400": $ref: '#/components/responses/badRequest' @@ -30333,6 +30968,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -30356,7 +31002,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderAccessRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30367,6 +31013,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -30399,7 +31056,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderAccessRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30414,6 +31071,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: deprecated: true @@ -30438,7 +31107,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedLegacyClusterView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30449,7 +31118,18 @@ paths: summary: Return All Clusters in One Project tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help + x-sunset: "2025-06-01" post: deprecated: true description: 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. @@ -30471,7 +31151,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LegacyAtlasCluster' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -30490,7 +31170,19 @@ paths: summary: Create One Cluster from One Project tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: deprecated: true @@ -30518,7 +31210,7 @@ paths: "202": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -30535,7 +31227,18 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help + x-sunset: "2025-06-01" get: deprecated: true description: 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. @@ -30559,7 +31262,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LegacyAtlasCluster' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -30574,7 +31277,18 @@ paths: summary: Return One Cluster from One Project tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help + x-sunset: "2025-06-01" patch: deprecated: true description: '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.' @@ -30605,7 +31319,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LegacyAtlasCluster' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30622,7 +31336,19 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: description: 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. @@ -30649,7 +31375,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasDiskBackupExportJobView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30660,6 +31386,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -30688,7 +31425,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupExportJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30705,6 +31442,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -30733,7 +31482,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupExportJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30744,6 +31493,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -30770,7 +31530,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedCloudBackupRestoreJobView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30781,6 +31541,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -30813,7 +31584,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotRestoreJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30830,6 +31601,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -30862,7 +31645,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -30875,6 +31658,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -30906,7 +31700,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotRestoreJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30917,6 +31711,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: deprecated: true @@ -30940,7 +31745,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotSchedule' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -30953,7 +31758,18 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups - x-sunset: "2025-08-05T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help + x-sunset: "2025-08-05" get: deprecated: true description: 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. @@ -30977,7 +31793,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotSchedule' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -30988,7 +31804,18 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups - x-sunset: "2025-08-05T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help + x-sunset: "2025-08-05" patch: deprecated: true description: 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. @@ -31022,7 +31849,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshotSchedule' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31035,7 +31862,19 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups - x-sunset: "2025-08-05T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help + x-sunset: "2025-08-05" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: description: 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. @@ -31062,7 +31901,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedCloudBackupReplicaSetView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31075,6 +31914,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -31107,7 +31957,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31120,6 +31970,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -31152,7 +32014,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -31165,6 +32027,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -31196,7 +32069,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupReplicaSet' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31209,6 +32082,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -31247,7 +32131,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupReplicaSet' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31260,6 +32144,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31292,7 +32188,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "404": $ref: '#/components/responses/notFound' @@ -31303,6 +32199,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -31334,7 +32241,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DiskBackupShardedClusterSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31347,6 +32254,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -31370,7 +32288,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedCloudBackupShardedClusterSnapshotView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31383,6 +32301,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -31413,7 +32342,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TenantRestore' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31432,6 +32361,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -31462,7 +32403,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TenantRestore' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31479,6 +32420,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31502,7 +32455,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTenantRestoreView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31515,6 +32468,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31547,7 +32511,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TenantRestore' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31560,6 +32524,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31583,7 +32558,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTenantSnapshotView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31596,6 +32571,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31628,7 +32614,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupTenantSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31641,6 +32627,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -31668,7 +32665,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasCheckpointView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -31679,6 +32676,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -31712,7 +32720,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiAtlasCheckpointView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31727,6 +32735,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -31761,7 +32780,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterSearchIndex' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31776,7 +32795,19 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: deprecated: true @@ -31818,7 +32849,7 @@ paths: items: $ref: '#/components/schemas/ClusterSearchIndex' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -31829,7 +32860,18 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: deprecated: true @@ -31866,7 +32908,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -31879,7 +32921,18 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help + x-sunset: "2025-06-01" get: deprecated: true description: 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. @@ -31915,7 +32968,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterSearchIndex' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -31926,7 +32979,18 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help + x-sunset: "2025-06-01" patch: deprecated: true description: 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. @@ -31969,7 +33033,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterSearchIndex' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -31984,7 +33048,19 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: deprecated: true @@ -32012,7 +33088,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GeoSharding' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -32023,7 +33099,18 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: deprecated: true @@ -32051,7 +33138,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GeoSharding' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -32062,7 +33149,18 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help + x-sunset: "2025-06-01" post: deprecated: true description: Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting API Key must have the Project Owner role. @@ -32096,7 +33194,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GeoSharding' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32109,7 +33207,19 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: deprecated: true @@ -32147,7 +33257,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GeoSharding' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32160,7 +33270,18 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help + x-sunset: "2025-06-01" post: deprecated: true description: Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -32194,7 +33315,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GeoSharding' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32209,7 +33330,19 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: description: Creates an index on the cluster identified by its name in a rolling manner. Creating the index in this way allows index builds on one replica set member as a standalone at a time, starting with the secondary members. Creating indexes in this way requires at least one replica set election. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -32306,7 +33439,7 @@ paths: "202": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -32319,6 +33452,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32348,7 +33493,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedOnlineArchiveView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -32359,6 +33504,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -32391,7 +33547,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupOnlineArchive' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32408,6 +33564,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -32443,7 +33611,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -32456,6 +33624,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -32490,7 +33669,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupOnlineArchive' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32505,6 +33684,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -32546,7 +33736,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupOnlineArchive' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32563,6 +33753,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -32612,7 +33814,7 @@ paths: description: This resource downloads a compressed log file to your current working directory. You can specify its name using the `--output` option or use the default filename using the `-OJ` option. The default filename varies based on whether you download logs for queries of your online archive only or both your online archive and cluster. format: binary type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32627,6 +33829,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -32653,7 +33866,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterOutageSimulation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32668,6 +33881,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -32693,7 +33917,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterOutageSimulation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32708,6 +33932,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -32740,7 +33975,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterOutageSimulation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32753,6 +33988,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: deprecated: true @@ -32780,7 +34027,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterDescriptionProcessArgs' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32793,7 +34040,18 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help + x-sunset: "2026-03-01" patch: deprecated: true description: 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, or serverless clusters. @@ -32819,7 +34077,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterDescriptionProcessArgs' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Advanced configuration details to add for one cluster in the specified project. required: true responses: @@ -32828,7 +34086,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterDescriptionProcessArgs' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32843,7 +34101,19 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help + x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: deprecated: true @@ -32866,7 +34136,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -32877,7 +34147,19 @@ paths: summary: Test Failover for One Cluster tags: - Clusters - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -32916,7 +34198,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedRestoreJobView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32929,6 +34211,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -32959,7 +34252,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedRestoreJobView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -32972,6 +34265,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -33008,7 +34313,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupRestoreJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33021,6 +34326,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: deprecated: true @@ -33043,7 +34359,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33058,7 +34374,18 @@ paths: summary: Delete Search Nodes tags: - Atlas Search - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help + x-sunset: "2026-03-01" get: deprecated: true description: Return the Search Nodes for the specified cluster. @@ -33082,7 +34409,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiSearchDeploymentResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33095,7 +34422,18 @@ paths: summary: Return Search Nodes tags: - Atlas Search - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help + x-sunset: "2026-03-01" patch: deprecated: true description: Updates the Search Nodes for the specified cluster. @@ -33126,7 +34464,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiSearchDeploymentResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33141,7 +34479,19 @@ paths: summary: Update Search Nodes tags: - Atlas Search - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help + x-sunset: "2026-03-01" post: deprecated: true description: Creates Search Nodes for the specified cluster. @@ -33172,7 +34522,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiSearchDeploymentResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33187,7 +34537,19 @@ paths: summary: Create Search Nodes tags: - Atlas Search - x-sunset: "2026-03-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help + x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: deprecated: true @@ -33215,7 +34577,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiAtlasSnapshotScheduleView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -33226,6 +34588,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -33259,7 +34632,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiAtlasSnapshotScheduleView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33270,6 +34643,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -33307,7 +34692,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedSnapshotView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33318,6 +34703,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -33351,7 +34747,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -33364,6 +34760,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -33396,7 +34803,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33407,6 +34814,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -33446,7 +34864,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BackupSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33457,6 +34875,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -33480,7 +34910,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ClusterStatus' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -33491,6 +34921,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: deprecated: true @@ -33542,7 +34983,7 @@ paths: description: Compressed (.gz) log file that contains a range of log messages for the specified host for the specified project format: binary type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33561,7 +35002,18 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs - x-sunset: "2025-06-01T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help + x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -33591,7 +35043,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasProviderRegionsView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33602,6 +35054,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -33623,7 +35086,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LegacyAtlasCluster' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33642,6 +35105,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -33663,7 +35138,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessInstanceDescription' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33682,6 +35157,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -33710,7 +35197,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedCloudProviderContainerView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33723,6 +35210,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -33743,7 +35241,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderContainer' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33762,6 +35260,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -33786,7 +35296,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -33803,6 +35313,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -33826,7 +35347,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderContainer' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33837,6 +35358,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -33867,7 +35399,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudProviderContainer' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -33886,6 +35418,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33903,7 +35447,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedCloudProviderContainerView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33914,6 +35458,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33930,7 +35485,7 @@ paths: items: $ref: '#/components/schemas/UserCustomDBRole' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -33941,6 +35496,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -33961,7 +35527,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserCustomDBRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -33980,6 +35546,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -33998,7 +35576,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: No Content "400": $ref: '#/components/responses/badRequest' @@ -34015,6 +35593,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -34034,7 +35623,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserCustomDBRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34047,6 +35636,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -34073,7 +35673,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserCustomDBRole' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34092,6 +35692,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -34117,7 +35729,7 @@ paths: items: $ref: '#/components/schemas/DataLakeTenant' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34128,6 +35740,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -34154,7 +35777,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeTenant' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34165,6 +35788,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -34185,7 +35820,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "404": $ref: '#/components/responses/notFound' @@ -34196,6 +35831,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -34214,7 +35860,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeTenant' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34229,6 +35875,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -34261,7 +35918,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeTenant' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34274,6 +35931,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -34296,7 +35965,7 @@ paths: items: $ref: '#/components/schemas/DataFederationTenantQueryLimit' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34309,6 +35978,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -34347,7 +36027,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -34358,6 +36038,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -34396,7 +36087,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataFederationTenantQueryLimit' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34407,6 +36098,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -34451,7 +36153,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataFederationTenantQueryLimit' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34466,6 +36168,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -34502,7 +36216,7 @@ paths: description: Compressed archive labeled `queryLogs.gz` downloads format: binary type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34521,6 +36235,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -34538,7 +36263,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasDatabaseUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34549,6 +36274,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -34660,7 +36396,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudDatabaseUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34679,6 +36415,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -34719,7 +36467,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -34734,6 +36482,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -34773,7 +36532,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudDatabaseUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -34786,6 +36545,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -34832,7 +36602,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudDatabaseUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34851,6 +36621,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34874,7 +36656,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedUserCertView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -34887,6 +36669,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -34922,7 +36715,7 @@ paths: schema: description: PEM file that contains the user's X.509 certificate and private key. type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint returns a PEM file with the certificate and private key. "400": $ref: '#/components/responses/badRequest' @@ -34941,6 +36734,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -34999,7 +36804,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MongoDBAccessLogsList' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35012,6 +36817,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -35067,7 +36883,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MongoDBAccessLogsList' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -35080,6 +36896,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -35097,7 +36924,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EncryptionAtRest' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -35108,6 +36935,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -35140,7 +36978,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EncryptionAtRest' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35157,6 +36995,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -35179,7 +37029,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasEARPrivateEndpointView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "403": $ref: '#/components/responses/forbidden' @@ -35190,6 +37040,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -35218,7 +37079,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EARPrivateEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "403": $ref: '#/components/responses/forbidden' @@ -35229,6 +37090,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -35267,7 +37140,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "403": $ref: '#/components/responses/forbidden' @@ -35278,6 +37151,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -35308,7 +37192,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EARPrivateEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "403": $ref: '#/components/responses/forbidden' @@ -35319,6 +37203,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -35388,7 +37283,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupPaginatedEventView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35401,6 +37296,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -35433,7 +37339,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EventViewForNdsGroup' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -35446,6 +37352,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -35460,7 +37377,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudSearchMetrics' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35473,6 +37390,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -35517,7 +37445,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MeasurementsIndexes' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35530,6 +37458,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -35573,7 +37512,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MeasurementsIndexes' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35586,6 +37525,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -35628,7 +37578,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MeasurementsNonIndex' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35641,6 +37591,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -35658,7 +37619,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedIntegrationView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35673,6 +37634,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -35705,7 +37677,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -35720,6 +37692,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -35751,7 +37734,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ThirdPartyIntegration' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35766,6 +37749,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -35807,7 +37801,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedIntegrationView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35824,6 +37818,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -35865,7 +37871,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedIntegrationView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35880,6 +37886,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -35903,7 +37921,7 @@ paths: items: $ref: '#/components/schemas/GroupInvitation' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -35914,7 +37932,18 @@ paths: summary: Return All Project Invitations tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help + x-sunset: "2024-10-04" patch: deprecated: true description: Updates the details of one pending invitation to the specified project. To specify which invitation to update, provide the username of the invited user. To use this resource, the requesting API Key must have the Project Owner role. @@ -35936,7 +37965,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -35951,7 +37980,19 @@ paths: summary: Update One Project Invitation tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help + x-sunset: "2024-10-04" post: deprecated: true description: Invites one MongoDB Cloud user to join the specified project. The MongoDB Cloud user must accept the invitation to access information within the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35973,7 +38014,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -35984,7 +38025,19 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help + x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: deprecated: true @@ -36008,7 +38061,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -36019,7 +38072,18 @@ paths: summary: Cancel One Project Invitation tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help + x-sunset: "2024-10-04" get: deprecated: true description: Returns the details of one pending invitation to the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36043,7 +38107,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -36056,7 +38120,18 @@ paths: summary: Return One Project Invitation tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help + x-sunset: "2024-10-04" patch: deprecated: true description: Updates the details of one pending invitation to the specified project. To specify which invitation to update, provide the unique identification string for that invitation. Use the Return All Project Invitations endpoint to retrieve IDs for all pending project invitations. To use this resource, the requesting API Key must have the Project Owner role. @@ -36086,7 +38161,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36101,7 +38176,19 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects - x-sunset: "2024-10-04T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help + x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: description: Returns all IP addresses for this project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36116,7 +38203,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupIPAddresses' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -36129,6 +38216,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36145,7 +38243,7 @@ paths: items: $ref: '#/components/schemas/DataFederationLimit' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36162,6 +38260,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -36212,7 +38321,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -36227,6 +38336,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -36276,7 +38396,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataFederationLimit' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36293,6 +38413,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -36352,7 +38483,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataFederationLimit' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36369,6 +38500,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: deprecated: true @@ -36390,8 +38533,8 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveMigrationRequest' - x-sunset: "2025-05-30T00:00:00Z" - x-xgen-version: "2023-01-01T00:00:00Z" + x-sunset: "2025-05-30" + x-xgen-version: "2023-01-01" description: One migration to be created. required: true responses: @@ -36400,7 +38543,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveMigrationResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -36417,7 +38560,19 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help + x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: description: 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. @@ -36433,7 +38588,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveMigrationResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -36448,6 +38603,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -36461,7 +38627,7 @@ paths: "202": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted. "400": $ref: '#/components/responses/badRequest' @@ -36478,6 +38644,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: deprecated: true @@ -36492,8 +38670,8 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveMigrationRequest' - x-sunset: "2025-05-30T00:00:00Z" - x-xgen-version: "2023-01-01T00:00:00Z" + x-sunset: "2025-05-30" + x-xgen-version: "2023-01-01" description: One migration to be validated. required: true responses: @@ -36502,7 +38680,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveImportValidation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36519,7 +38697,19 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service - x-sunset: "2025-05-30T00:00:00Z" + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help + x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: description: Return the status of one migration validation job. Your API Key must have the Organization Owner role to successfully call this resource. @@ -36543,7 +38733,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LiveImportValidation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36560,6 +38750,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -36571,7 +38772,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -36584,6 +38785,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -36597,7 +38809,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupMaintenanceWindow' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -36608,6 +38820,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -36627,7 +38850,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36640,6 +38863,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36651,7 +38886,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36664,6 +38899,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -36675,7 +38922,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36688,6 +38935,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -36700,7 +38959,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -36713,6 +38972,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -36725,7 +38995,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -36738,6 +39008,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -36750,7 +39031,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -36763,6 +39044,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -36810,7 +39103,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAvailableVersionView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36829,6 +39122,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36856,7 +39160,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedContainerPeerView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36869,6 +39173,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -36892,7 +39207,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BaseNetworkPeeringConnectionSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36909,6 +39224,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -36932,7 +39259,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/RequestAccepted' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "404": $ref: '#/components/responses/notFound' @@ -36945,6 +39272,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -36967,7 +39305,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BaseNetworkPeeringConnectionSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -36980,6 +39318,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -37009,7 +39358,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BaseNetworkPeeringConnectionSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37026,6 +39375,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37041,7 +39402,7 @@ paths: items: $ref: '#/components/schemas/DataLakeIngestionPipeline' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37054,6 +39415,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -37073,7 +39445,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeIngestionPipeline' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37088,6 +39460,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -37110,7 +39494,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -37123,6 +39507,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -37145,7 +39540,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeIngestionPipeline' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37158,6 +39553,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -37186,7 +39592,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeIngestionPipeline' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37203,6 +39609,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -37228,7 +39646,7 @@ paths: items: $ref: '#/components/schemas/DiskBackupApiPolicyItem' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37241,6 +39659,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -37256,7 +39685,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -37274,7 +39703,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedBackupSnapshotView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37287,6 +39716,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -37310,7 +39750,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeIngestionPipeline' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37323,6 +39763,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -37346,7 +39798,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/DataLakeIngestionPipeline' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37359,6 +39811,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37374,7 +39838,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -37392,7 +39856,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedPipelineRunView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37405,6 +39869,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -37438,7 +39913,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/RequestAccepted' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -37451,6 +39926,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -37483,7 +39969,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/IngestionPipelineRun' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37496,6 +39982,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -37526,7 +40023,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/IngestionPipelineRun' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37539,6 +40036,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37566,7 +40075,7 @@ paths: items: $ref: '#/components/schemas/EndpointService' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37577,6 +40086,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37611,7 +40131,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -37622,6 +40142,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -37655,7 +40186,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EndpointService' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37668,6 +40199,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -37709,7 +40251,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PrivateLinkEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37726,6 +40268,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -37767,7 +40321,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -37778,6 +40332,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -37818,7 +40383,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PrivateLinkEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37831,6 +40396,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -37855,7 +40431,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EndpointService' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37866,6 +40442,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37880,7 +40468,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ProjectSettingItemView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "403": $ref: '#/components/responses/forbidden' @@ -37893,6 +40481,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -37913,7 +40512,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ProjectSettingItemView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -37926,6 +40525,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -37949,7 +40560,7 @@ paths: items: $ref: '#/components/schemas/ServerlessTenantEndpoint' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -37962,6 +40573,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -37995,7 +40617,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessTenantEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -38008,6 +40630,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -38038,7 +40672,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -38051,6 +40685,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -38080,7 +40725,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessTenantEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38093,6 +40738,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -38129,7 +40785,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessTenantEndpoint' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38142,6 +40798,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -38160,7 +40828,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PrivateIPModeView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -38171,6 +40839,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38195,7 +40874,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PrivateIPModeView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38208,6 +40887,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -38225,7 +40916,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedPrivateNetworkEndpointIdEntryView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38240,6 +40931,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -38279,7 +40981,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedPrivateNetworkEndpointIdEntryView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38292,6 +40994,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -38315,7 +41029,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -38328,6 +41042,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -38350,7 +41075,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PrivateNetworkEndpointIdEntry' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -38365,6 +41090,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38382,7 +41118,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedHostView_Atlas' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38393,6 +41129,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38415,7 +41162,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiHostView_Atlas' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38426,6 +41173,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38451,7 +41209,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedDatabaseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38462,6 +41220,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38490,7 +41259,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MesurementsDatabase' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38501,6 +41270,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38555,7 +41335,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiMeasurementsGeneralView_Atlas' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38566,6 +41346,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38591,7 +41382,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedDiskPartitionView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38602,6 +41393,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38629,7 +41431,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/MeasurementDiskPartition' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38640,6 +41442,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -38710,7 +41523,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiMeasurementsGeneralView_Atlas' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38721,6 +41534,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -38902,7 +41726,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiMeasurementsGeneralView_Atlas' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38913,6 +41737,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38955,7 +41790,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Namespaces' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -38966,6 +41801,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -39025,7 +41871,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PerformanceAdvisorSlowQueryList' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39036,6 +41882,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39102,7 +41959,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PerformanceAdvisorResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39113,6 +41970,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -39125,7 +41993,7 @@ paths: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39142,6 +42010,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -39155,7 +42034,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PushBasedLogExportProject' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39170,6 +42049,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -39182,14 +42072,14 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PushBasedLogExportProject' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: The project configuration details. The S3 bucket name, IAM role ID, and prefix path fields are the only fields that may be specified. Fields left unspecified will not be modified. required: true responses: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39206,6 +42096,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -39218,14 +42120,14 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CreatePushBasedLogExportProjectRequest' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: The project configuration details. The S3 bucket name, IAM role ID, and prefix path fields are required. required: true responses: "200": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39242,6 +42144,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -39264,7 +42178,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/SampleDatasetStatus' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -39279,6 +42193,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -39301,7 +42227,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/SampleDatasetStatus' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -39312,6 +42238,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39329,7 +42266,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedServerlessInstanceDescriptionView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "409": $ref: '#/components/responses/conflict' @@ -39340,6 +42277,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -39360,7 +42308,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessInstanceDescription' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -39375,6 +42323,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -39401,7 +42361,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasServerlessBackupRestoreJobView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39414,6 +42374,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -39443,7 +42414,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessBackupRestoreJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39460,6 +42431,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -39492,7 +42475,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessBackupRestoreJob' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39505,6 +42488,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -39531,7 +42525,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAtlasServerlessBackupSnapshotView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39544,6 +42538,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -39576,7 +42581,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessBackupSnapshot' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39589,6 +42594,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -39612,7 +42628,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: type: boolean - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39623,6 +42639,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -39650,7 +42677,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39661,6 +42688,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -39684,7 +42723,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -39699,6 +42738,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -39721,7 +42771,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessInstanceDescription' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39736,6 +42786,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -39765,7 +42826,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ServerlessInstanceDescription' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39778,6 +42839,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39792,7 +42865,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39807,6 +42880,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -39827,7 +42911,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/GroupSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -39842,6 +42926,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39859,7 +42955,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTeamRoleView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39876,6 +42972,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -39901,7 +43008,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTeamRoleView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -39918,6 +43025,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -39941,7 +43060,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -39958,6 +43077,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -39990,7 +43120,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTeamRoleView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40007,6 +43137,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40021,7 +43163,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserSecurity' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -40032,6 +43174,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40055,7 +43208,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserSecurity' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -40068,6 +43221,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -40084,7 +43249,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserSecurity' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "404": $ref: '#/components/responses/notFound' @@ -40095,6 +43260,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40109,7 +43285,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserSecurity' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "404": $ref: '#/components/responses/notFound' @@ -40120,6 +43296,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40141,7 +43328,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LDAPVerifyConnectivityJobRequest' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40154,6 +43341,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40177,7 +43376,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/LDAPVerifyConnectivityJobRequest' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "404": $ref: '#/components/responses/notFound' @@ -40188,6 +43387,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40217,7 +43427,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAppUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40228,6 +43438,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40249,7 +43470,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -40264,6 +43485,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -40294,7 +43526,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UpdateGroupRolesForUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40309,6 +43541,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40330,7 +43574,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Group' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40347,6 +43591,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -40368,7 +43623,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedOrganizationView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40385,6 +43640,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -40404,7 +43670,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CreateOrganizationResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Created "400": $ref: '#/components/responses/badRequest' @@ -40423,6 +43689,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -40441,7 +43719,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -40460,6 +43738,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -40473,7 +43762,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AtlasOrganization' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40490,6 +43779,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -40510,7 +43810,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/AtlasOrganization' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40527,6 +43827,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -40547,7 +43859,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiApiUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40558,6 +43870,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -40581,7 +43904,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiKeyUserDetails' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40592,6 +43915,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -40618,7 +43953,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "401": $ref: '#/components/responses/unauthorized' @@ -40629,6 +43964,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -40654,7 +44000,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiKeyUserDetails' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40665,6 +44011,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -40697,7 +44054,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/ApiKeyUserDetails' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40710,6 +44067,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -40739,7 +44108,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiUserAccessListResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40750,6 +44119,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -40784,7 +44164,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiUserAccessListResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40799,6 +44179,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -40833,7 +44225,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -40848,6 +44240,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -40881,7 +44284,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UserAccessListResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -40894,6 +44297,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -40914,7 +44328,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CostExplorerFilterResponseView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: Accepted "400": $ref: '#/components/responses/badRequest' @@ -40927,6 +44341,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -40951,11 +44377,11 @@ paths: application/vnd.atlas.2023-01-01+csv: schema: type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CostExplorerQueryResult' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -40970,6 +44396,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -41010,7 +44447,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -41019,7 +44456,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrgPaginatedEventView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41030,6 +44467,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -41062,7 +44510,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/EventViewForOrg' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41075,6 +44523,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -41089,7 +44548,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrgFederationSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41104,6 +44563,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -41134,7 +44604,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAtlasGroupView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41149,6 +44619,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -41171,7 +44652,7 @@ paths: items: $ref: '#/components/schemas/OrganizationInvitation' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41186,6 +44667,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -41206,7 +44698,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41221,6 +44713,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -41241,7 +44745,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41256,6 +44760,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -41276,7 +44792,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -41291,6 +44807,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -41312,7 +44839,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41327,6 +44854,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -41356,7 +44894,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationInvitation' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41371,6 +44909,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -41447,7 +44997,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiInvoiceMetadataView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41460,6 +45010,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -41485,11 +45046,11 @@ paths: application/vnd.atlas.2023-01-01+csv: schema: type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/BillingInvoice' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41502,6 +45063,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -41532,7 +45104,7 @@ paths: Date,Usage Date,Description,Note,Organization Name,Organization ID,Project,Project ID,SKU,Region,Cluster,Replica Set,Config Server,Application,Unit,Unit Price,Quantity,Discount Percent,Amount schema: type: string - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41545,6 +45117,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -41559,7 +45142,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiInvoiceView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41572,6 +45155,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -41588,7 +45182,7 @@ paths: items: $ref: '#/components/schemas/LiveImportAvailableProject' type: array - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41601,6 +45195,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -41614,7 +45219,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -41627,6 +45232,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -41647,7 +45263,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TargetOrg' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41660,6 +45276,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -41674,7 +45302,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41689,6 +45317,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -41709,7 +45348,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/OrganizationSettings' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -41724,6 +45363,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -41744,7 +45395,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedTeamView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41759,6 +45410,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -41782,7 +45444,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/Team' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41799,6 +45461,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -41825,7 +45499,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -41840,6 +45514,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -41865,7 +45550,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TeamResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41880,6 +45565,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -41912,7 +45608,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TeamResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41929,6 +45625,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -41957,7 +45665,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAppUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -41974,6 +45682,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42008,7 +45727,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedApiAppUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -42025,6 +45744,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42058,7 +45789,7 @@ paths: "204": content: application/vnd.atlas.2023-01-01+json: - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -42073,6 +45804,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -42096,7 +45838,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/TeamResponse' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -42111,6 +45853,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -42128,7 +45881,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/PaginatedAppUserView' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "400": $ref: '#/components/responses/badRequest' @@ -42143,6 +45896,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -42165,7 +45929,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/NoBody' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: This endpoint does not return a response body. "400": $ref: '#/components/responses/badRequest' @@ -42182,6 +45946,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -42212,7 +45987,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/UpdateOrgRolesForUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -42227,6 +46002,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/users: post: description: |- @@ -42252,7 +46039,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudAppUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -42265,6 +46052,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -42287,7 +46086,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudAppUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -42300,6 +46099,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -42320,7 +46130,7 @@ paths: application/vnd.atlas.2023-01-01+json: schema: $ref: '#/components/schemas/CloudAppUser' - x-xgen-version: "2023-01-01T00:00:00Z" + x-xgen-version: "2023-01-01" description: OK "401": $ref: '#/components/responses/unauthorized' @@ -42333,6 +46143,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-01-01+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: @@ -42358,8 +46179,6 @@ tags: name: Cluster Outage Simulation - description: Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID. name: Clusters - - description: Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data. - name: Collection Level Metrics - description: 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. name: Custom Database Roles - description: Returns, adds, edits, and removes Federated Database Instances. This resource requires your project ID. Changes to federated database instance configurations can affect costs. @@ -42425,8 +46244,6 @@ tags: name: Shared-Tier Restore Jobs - description: Returns and requests to download shared-tier database deployment snapshots. name: Shared-Tier Snapshots - - description: Returns, adds, edits, and removes Streams Instances. This resource requires your project ID. - name: Streams - description: Returns, adds, edits, or removes teams. name: Teams - description: |- diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json index a12d33b102..edfe326d02 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json @@ -50,10 +50,6 @@ "description": "Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID.", "name": "Clusters" }, - { - "description": "Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data.", - "name": "Collection Level Metrics" - }, { "description": "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.", "name": "Custom Database Roles" @@ -246,6 +242,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +299,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +362,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +425,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +479,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +545,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +618,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +689,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +771,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +834,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +906,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +979,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1053,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1138,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1236,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] } }, @@ -1135,6 +1311,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" }, "patch": { @@ -1204,6 +1392,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" } }, @@ -1252,6 +1452,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1306,6 +1518,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1380,6 +1604,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1442,6 +1678,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1490,6 +1738,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1536,6 +1796,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1599,6 +1871,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1663,6 +1947,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1721,6 +2017,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1797,6 +2105,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -1860,6 +2180,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -1924,6 +2256,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -1989,6 +2333,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2043,6 +2399,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2100,6 +2468,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2158,6 +2538,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2217,6 +2609,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2287,6 +2691,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2360,6 +2776,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2430,6 +2858,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2500,6 +2940,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2560,6 +3012,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2634,6 +3098,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -2703,6 +3179,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2761,6 +3249,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2815,6 +3315,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -2879,6 +3391,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -2957,6 +3481,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3026,6 +3562,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3071,6 +3619,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3128,6 +3688,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3173,6 +3745,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3227,6 +3811,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3283,10 +3879,22 @@ "tags": [ "Cloud Backups" ], - "x-sunset": "2025-05-30" - }, - "post": { - "deprecated": true, + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], + "x-sunset": "2025-05-30" + }, + "post": { + "deprecated": true, "description": "Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role.", "operationId": "createExportBucket", "parameters": [ @@ -3347,6 +3955,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3408,6 +4028,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3466,6 +4098,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3516,6 +4160,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } + ], "x-sunset": "2024-10-01" }, "put": { @@ -3589,6 +4245,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } + ], "x-sunset": "2024-10-01" } }, @@ -3634,6 +4302,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3692,6 +4372,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3761,6 +4453,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -3818,6 +4522,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -3894,6 +4610,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -3959,6 +4687,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -4027,6 +4767,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4100,6 +4852,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4168,6 +4932,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4236,6 +5012,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4307,6 +5095,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4370,6 +5170,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -4447,6 +5259,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4513,6 +5337,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4585,6 +5421,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4648,6 +5496,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4714,6 +5574,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -4789,6 +5661,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -4861,6 +5745,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -4928,6 +5824,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -4987,6 +5895,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-sunset": "2025-08-05" }, "get": { @@ -5044,6 +5964,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" }, "patch": { @@ -5115,6 +6047,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" } }, @@ -5184,6 +6128,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5253,6 +6209,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5322,6 +6290,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5392,6 +6372,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5452,6 +6444,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5524,6 +6528,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5594,6 +6610,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5675,6 +6703,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5755,6 +6795,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -5832,6 +6884,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -5892,6 +6956,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -5964,6 +7040,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6024,6 +7112,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6096,6 +7196,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6163,6 +7275,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6239,6 +7363,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6319,6 +7455,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6403,6 +7551,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6481,6 +7641,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -6554,6 +7726,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -6644,6 +7828,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6707,8 +7903,20 @@ "tags": [ "Global Clusters" ], - "x-sunset": "2026-03-01" - } + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], + "x-sunset": "2026-03-01" + } }, "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping": { "delete": { @@ -6770,6 +7978,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -6845,6 +8065,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -6927,6 +8159,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7005,6 +8249,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7168,6 +8424,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7238,6 +8506,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7317,6 +8597,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7414,6 +8706,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -7490,6 +8794,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -7567,6 +8883,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -7658,6 +8986,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -7725,6 +9065,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -7790,6 +9142,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -7863,6 +9227,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -7929,6 +9305,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8008,6 +9396,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8062,6 +9462,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8143,6 +9555,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8213,6 +9637,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8286,6 +9722,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8348,6 +9796,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "get": { @@ -8408,6 +9868,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8482,6 +9954,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -8556,6 +10040,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8614,6 +10110,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -8681,6 +10189,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -8762,6 +10282,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -8835,6 +10367,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -8903,6 +10447,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -8982,6 +10538,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -9039,6 +10607,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -9144,6 +10724,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -9216,6 +10808,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -9282,6 +10886,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -9336,6 +10952,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -9403,6 +11031,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -9459,6 +11099,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -9538,6 +11190,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -9586,6 +11250,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -9652,6 +11328,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -9712,6 +11400,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -9767,6 +11467,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -9842,6 +11554,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -9903,6 +11627,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -9966,6 +11702,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -10020,6 +11768,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -10075,6 +11835,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -10150,6 +11922,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -10210,6 +11994,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -10276,10 +12072,22 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" - ] - }, - "get": { - "description": "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.", + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } + ] + }, + "get": { + "description": "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.", "operationId": "returnFederatedDatabaseQueryLimit", "parameters": [ { @@ -10343,6 +12151,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -10424,6 +12244,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -10508,6 +12340,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -10562,6 +12406,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -10780,6 +12636,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -10850,6 +12718,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -10915,6 +12795,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -11000,6 +12892,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -11066,6 +12970,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -11146,6 +13062,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -11257,6 +13185,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -11365,6 +13305,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -11410,6 +13362,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -11473,6 +13437,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -11530,6 +13506,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -11596,6 +13584,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11676,6 +13676,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -11743,6 +13755,18 @@ "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11864,6 +13888,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -11933,6 +13969,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -11981,6 +14029,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -12075,6 +14135,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -12172,6 +14244,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -12261,6 +14345,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -12321,6 +14417,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -12394,6 +14502,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -12465,6 +14585,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -12559,6 +14691,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -12650,6 +14794,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -12709,6 +14865,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -12771,6 +14939,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -12827,6 +15007,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -12883,6 +15075,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -12943,6 +15147,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -13014,6 +15230,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -13062,6 +15290,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -13119,6 +15359,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -13194,6 +15446,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -13270,6 +15534,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -13357,6 +15633,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -13426,6 +15714,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13495,6 +15795,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13559,6 +15871,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -13613,6 +15937,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -13667,6 +16003,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -13709,6 +16057,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -13752,6 +16112,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -13806,6 +16178,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -13848,6 +16232,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -13890,6 +16286,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -13935,6 +16343,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -13980,6 +16400,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -14025,6 +16457,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -14131,6 +16575,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -14202,6 +16658,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -14269,6 +16737,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -14329,6 +16809,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -14387,6 +16879,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -14462,6 +16966,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -14510,6 +17026,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -14567,6 +17095,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -14624,6 +17164,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -14682,6 +17234,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -14754,6 +17318,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -14817,6 +17393,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -14848,7 +17436,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -14896,6 +17484,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -14956,6 +17556,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -15016,6 +17628,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -15047,7 +17671,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -15095,6 +17719,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -15168,6 +17804,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -15239,6 +17887,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -15310,6 +17970,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -15370,6 +18042,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -15418,6 +18102,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -15475,6 +18171,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -15534,6 +18242,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -15603,6 +18323,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -15671,6 +18403,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -15737,6 +18481,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -15814,6 +18570,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -15877,6 +18645,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -15949,6 +18729,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -16022,6 +18814,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -16114,6 +18918,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -16196,6 +19012,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -16279,6 +19107,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -16329,6 +19169,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -16391,6 +19243,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -16451,6 +19315,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -16508,6 +19384,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -16568,6 +19456,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -16629,6 +19529,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -16683,6 +19595,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -16739,6 +19663,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -16804,6 +19740,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -16869,6 +19817,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -16973,6 +19933,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -17038,6 +20010,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -17100,6 +20084,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -17213,6 +20209,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -17433,6 +20441,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -17507,6 +20527,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -17605,6 +20637,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -17719,6 +20763,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -17770,6 +20826,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -17819,6 +20887,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -17880,6 +20960,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -17941,6 +21033,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -18001,6 +21105,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -18055,6 +21171,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -18109,6 +21237,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -18169,6 +21309,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -18238,6 +21390,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -18313,6 +21477,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -18385,6 +21561,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -18454,6 +21642,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -18524,6 +21724,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -18581,6 +21793,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -18642,6 +21866,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -18705,6 +21941,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -18766,6 +22014,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -18835,6 +22095,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -18886,6 +22158,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -18946,6 +22230,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -18997,6 +22293,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -19054,6 +22362,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -19114,6 +22434,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -19177,6 +22509,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -19249,6 +22593,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -19336,6 +22692,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -19399,6 +22767,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -19468,6 +22848,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -19537,6 +22929,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -19598,6 +23002,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -19679,6 +23095,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -19742,6 +23170,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -19812,6 +23252,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -19876,6 +23328,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -19955,6 +23419,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -20000,6 +23476,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -20057,6 +23545,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -20099,6 +23599,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -20144,6 +23656,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -20203,6 +23727,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -20260,6 +23796,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -20332,6 +23880,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -20392,6 +23952,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -20466,6 +24038,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -20534,6 +24118,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -20597,6 +24193,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -20651,6 +24259,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -20703,6 +24323,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -20766,6 +24398,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -20824,6 +24468,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -20882,6 +24538,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -20943,6 +24611,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -21002,6 +24682,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -21075,6 +24767,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -21145,6 +24849,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -21229,6 +24945,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -21307,6 +25035,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -21380,6 +25120,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -21436,6 +25188,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -21505,6 +25269,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -21565,7 +25341,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -21598,6 +25374,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -21667,6 +25455,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -21718,6 +25518,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -21786,6 +25598,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -21849,6 +25673,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -21909,6 +25745,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -21969,6 +25817,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -22029,6 +25889,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -22087,6 +25959,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -22159,6 +26043,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -22295,6 +26191,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -22343,6 +26251,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -22409,6 +26329,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -22468,6 +26400,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -22519,6 +26463,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -22564,6 +26520,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -22621,6 +26589,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -22672,6 +26652,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -22732,6 +26724,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -22796,6 +26800,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -22863,6 +26879,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -22927,6 +26955,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -22994,6 +27034,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -23059,6 +27111,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -23138,6 +27202,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -23214,6 +27290,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -23296,6 +27384,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -23372,6 +27472,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -23432,6 +27544,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -23495,6 +27619,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -23569,6 +27705,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -23625,6 +27773,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -23680,6 +27840,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -23737,6 +27909,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml index 63a435576a..03aa3e2f10 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml @@ -28656,6 +28656,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -28682,6 +28693,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -28709,6 +28731,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -28736,6 +28769,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -28761,6 +28805,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -28791,6 +28846,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -28829,6 +28895,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -28866,6 +28943,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -28910,6 +28998,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -28939,6 +29039,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -28974,6 +29085,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -29011,6 +29134,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -29049,6 +29183,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -29094,6 +29239,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -29146,6 +29303,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: get: deprecated: true @@ -29184,6 +29352,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help x-sunset: "2025-01-01" patch: deprecated: true @@ -29230,6 +29409,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help x-sunset: "2025-01-01" /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -29259,6 +29450,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -29288,6 +29490,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -29334,6 +29547,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -29361,6 +29586,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -29387,6 +29623,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -29424,6 +29671,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -29461,6 +29720,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29492,6 +29763,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -29535,6 +29817,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29578,6 +29872,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -29617,6 +29922,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -29656,6 +29972,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -29687,6 +30014,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -29723,6 +30061,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -29761,6 +30111,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -29800,6 +30161,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -29848,6 +30220,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -29898,6 +30282,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -29941,6 +30337,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -29983,6 +30390,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -30022,6 +30440,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: deprecated: true description: |- @@ -30070,6 +30499,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -30113,6 +30554,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -30144,6 +30596,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -30175,6 +30638,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30214,6 +30689,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -30259,6 +30745,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -30301,6 +30799,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -30326,6 +30836,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -30359,6 +30880,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -30384,6 +30917,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -30415,6 +30959,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: deprecated: true @@ -30444,6 +31000,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help x-sunset: "2025-05-30" post: deprecated: true @@ -30483,6 +31050,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -30522,6 +31101,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: deprecated: true description: Returns one AWS S3 Bucket or Azure Blob Storage Container associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -30558,6 +31148,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: @@ -30587,6 +31188,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help x-sunset: "2024-10-01" put: deprecated: true @@ -30632,6 +31244,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help x-sunset: "2024-10-01" /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: @@ -30658,6 +31282,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -30692,6 +31327,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -30734,6 +31381,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -30768,6 +31426,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -30815,6 +31484,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: deprecated: true @@ -30850,6 +31531,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-sunset: "2026-03-01" post: deprecated: true @@ -30891,6 +31583,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -30935,6 +31639,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: deprecated: true description: '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. Deprecated versions: v2-{2023-01-01}' @@ -30973,6 +31688,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-sunset: "2026-03-01" patch: deprecated: true @@ -31021,6 +31747,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -31059,6 +31797,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -31104,6 +31853,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -31143,6 +31904,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -31180,6 +31952,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -31229,6 +32012,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -31274,6 +32069,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -31316,6 +32122,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: deprecated: true @@ -31352,6 +32169,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-sunset: "2025-08-05" get: deprecated: true @@ -31387,6 +32215,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-sunset: "2025-08-05" patch: deprecated: true @@ -31434,6 +32273,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-sunset: "2025-08-05" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -31474,6 +32325,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -31519,6 +32381,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -31564,6 +32438,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -31608,6 +32493,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -31659,6 +32555,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31702,6 +32610,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -31746,6 +32665,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -31782,6 +32712,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -31831,6 +32772,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -31878,6 +32831,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31914,6 +32879,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31959,6 +32935,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31995,6 +32982,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32040,6 +33038,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -32078,6 +33087,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -32126,6 +33146,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -32175,6 +33206,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -32228,6 +33271,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -32278,6 +33332,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -32325,6 +33390,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -32383,6 +33459,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -32422,6 +33510,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -32461,6 +33560,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-sunset: "2026-03-01" post: deprecated: true @@ -32508,6 +33618,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -32559,6 +33681,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-sunset: "2026-03-01" post: deprecated: true @@ -32608,6 +33741,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -32718,6 +33863,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32758,6 +33915,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -32807,6 +33975,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -32855,6 +34035,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -32904,6 +34095,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -32962,6 +34164,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -33026,6 +34240,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -33067,6 +34292,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -33107,6 +34343,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -33152,6 +34399,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: deprecated: true @@ -33192,6 +34451,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-sunset: "2026-03-01" patch: deprecated: true @@ -33242,6 +34512,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -33275,6 +34557,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -33326,6 +34620,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -33369,6 +34674,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -33418,6 +34735,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: deprecated: true @@ -33455,6 +34783,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help x-sunset: "2026-03-01" get: deprecated: true @@ -33492,6 +34831,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help x-sunset: "2026-03-01" patch: deprecated: true @@ -33538,6 +34888,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help x-sunset: "2026-03-01" post: deprecated: true @@ -33584,6 +34946,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -33623,6 +34997,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -33667,6 +35052,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -33715,6 +35112,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -33761,6 +35169,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -33804,6 +35223,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -33854,6 +35284,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -33888,6 +35330,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -33957,6 +35410,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -33997,6 +35461,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -34037,6 +35512,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -34077,6 +35564,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -34118,6 +35617,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -34157,6 +35667,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -34198,6 +35720,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -34232,6 +35765,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -34281,6 +35825,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34309,6 +35865,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34336,6 +35903,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -34375,6 +35953,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -34410,6 +36000,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -34442,6 +36043,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -34487,6 +36099,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -34523,6 +36147,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -34560,6 +36195,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -34591,6 +36238,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -34624,6 +36282,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -34669,6 +36338,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -34704,6 +36385,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -34753,6 +36445,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -34802,6 +36505,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -34861,6 +36575,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -34916,6 +36642,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -34944,6 +36681,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -35074,6 +36822,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35129,6 +36889,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -35181,6 +36952,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -35246,6 +37028,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -35282,6 +37076,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35336,6 +37141,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -35407,6 +37224,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -35475,6 +37303,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -35503,6 +37342,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -35552,6 +37402,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -35585,6 +37447,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -35624,6 +37497,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -35673,6 +37558,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -35714,6 +37610,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -35796,6 +37703,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -35841,6 +37759,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -35868,6 +37797,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -35925,6 +37865,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -35981,6 +37932,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -36036,6 +37998,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -36068,6 +38041,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -36115,6 +38099,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -36161,6 +38156,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -36219,6 +38225,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -36275,6 +38293,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -36309,6 +38339,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -36346,6 +38387,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -36379,6 +38432,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -36414,6 +38479,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -36451,6 +38527,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -36496,6 +38583,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -36524,6 +38623,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36557,6 +38667,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -36622,6 +38743,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -36688,6 +38820,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -36764,6 +38907,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: deprecated: true @@ -36812,6 +38967,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -36843,6 +39010,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -36873,6 +39051,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: deprecated: true @@ -36914,6 +39104,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -36955,6 +39157,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -36979,6 +39192,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -37003,6 +39227,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -37035,6 +39270,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37059,6 +39306,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -37083,6 +39342,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -37108,6 +39379,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -37133,6 +39415,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -37158,6 +39451,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -37224,6 +39529,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37264,6 +39580,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -37304,6 +39631,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -37340,6 +39679,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -37375,6 +39725,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -37421,6 +39782,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37449,6 +39822,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -37483,6 +39867,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -37518,6 +39914,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -37553,6 +39960,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -37598,6 +40016,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -37636,6 +40066,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -37651,7 +40092,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -37682,6 +40123,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -37718,6 +40170,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -37754,6 +40218,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37769,7 +40245,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -37800,6 +40276,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -37846,6 +40333,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -37891,6 +40389,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -37934,6 +40443,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37972,6 +40493,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38017,6 +40549,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -38063,6 +40606,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -38121,6 +40675,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -38173,6 +40739,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -38226,6 +40803,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -38261,6 +40849,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38288,6 +40888,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -38321,6 +40932,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -38357,6 +40980,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -38403,6 +41037,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -38446,6 +41092,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -38488,6 +41145,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -38537,6 +41205,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -38566,6 +41246,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38603,6 +41294,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -38635,6 +41338,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -38687,6 +41401,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -38723,6 +41449,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -38760,6 +41497,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38788,6 +41536,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38821,6 +41580,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38857,6 +41627,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38896,6 +41677,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38961,6 +41753,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38997,6 +41800,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39035,6 +41849,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -39116,6 +41941,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -39308,6 +42144,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39361,6 +42208,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -39431,6 +42289,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39508,6 +42377,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -39537,6 +42417,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -39565,6 +42456,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -39601,6 +42503,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -39637,6 +42551,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -39674,6 +42600,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -39707,6 +42645,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39735,6 +42684,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -39770,6 +42730,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -39809,6 +42781,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -39855,6 +42838,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -39900,6 +42895,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -39939,6 +42945,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -39984,6 +43001,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -40018,6 +43046,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -40056,6 +43095,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -40094,6 +43145,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -40131,6 +43193,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -40173,6 +43246,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40202,6 +43287,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -40237,6 +43333,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -40264,6 +43372,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -40297,6 +43416,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -40332,6 +43463,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -40370,6 +43512,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -40413,6 +43566,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -40469,6 +43634,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -40504,6 +43680,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -40545,6 +43732,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -40586,6 +43785,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -40623,6 +43833,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -40672,6 +43893,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40706,6 +43939,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -40748,6 +43992,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -40788,6 +44044,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -40837,6 +44104,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40862,6 +44141,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40898,6 +44188,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -40925,6 +44227,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40950,6 +44263,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40984,6 +44308,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41018,6 +44354,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41058,6 +44405,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41094,6 +44452,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -41139,6 +44508,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41177,6 +44558,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -41215,6 +44607,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -41253,6 +44656,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -41290,6 +44705,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -41320,6 +44746,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -41357,6 +44794,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -41388,6 +44837,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -41422,6 +44882,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -41459,6 +44931,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -41495,6 +44978,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -41540,6 +45034,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -41580,6 +45086,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -41629,6 +45146,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -41678,6 +45207,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -41724,6 +45264,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -41757,6 +45308,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -41800,6 +45363,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -41840,7 +45414,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -41860,6 +45434,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -41905,6 +45490,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -41934,6 +45530,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -41979,6 +45586,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42016,6 +45634,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -42051,6 +45680,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -42086,6 +45727,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42121,6 +45774,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -42157,6 +45821,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -42201,6 +45876,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -42290,6 +45977,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -42332,6 +46030,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -42375,6 +46084,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -42402,6 +46122,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -42431,6 +46162,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -42457,6 +46199,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -42490,6 +46243,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42519,6 +46284,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -42554,6 +46330,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -42589,6 +46377,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42629,6 +46428,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42670,6 +46481,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -42710,6 +46532,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42759,6 +46592,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -42804,6 +46649,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42855,6 +46711,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42903,6 +46771,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -42941,6 +46820,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -42973,6 +46863,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -43012,6 +46913,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -43057,6 +46969,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/users: post: description: |- @@ -43095,6 +47019,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -43130,6 +47066,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -43163,6 +47110,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-02-01+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: @@ -43188,8 +47146,6 @@ tags: name: Cluster Outage Simulation - description: Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID. name: Clusters - - description: Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data. - name: Collection Level Metrics - description: 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. name: Custom Database Roles - description: Returns, adds, edits, and removes Federated Database Instances. This resource requires your project ID. Changes to federated database instance configurations can affect costs. diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json index f998e304d9..ee80a5f118 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json @@ -50,10 +50,6 @@ "description": "Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID.", "name": "Clusters" }, - { - "description": "Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data.", - "name": "Collection Level Metrics" - }, { "description": "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.", "name": "Custom Database Roles" @@ -246,6 +242,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +299,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +362,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +425,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +479,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +545,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +618,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +689,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +771,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +834,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +906,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +979,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1053,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1138,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1236,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] } }, @@ -1135,6 +1311,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" }, "patch": { @@ -1204,6 +1392,18 @@ "tags": [ "Federated Authentication" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } + ], "x-sunset": "2025-01-01" } }, @@ -1252,6 +1452,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1306,6 +1518,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1380,6 +1604,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1442,6 +1678,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1490,6 +1738,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1536,6 +1796,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1599,6 +1871,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1663,6 +1947,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1721,6 +2017,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1797,6 +2105,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -1860,6 +2180,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -1924,6 +2256,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -1989,6 +2333,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2043,6 +2399,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2100,6 +2468,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2158,6 +2538,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2217,6 +2609,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2287,6 +2691,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2360,6 +2776,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2430,6 +2858,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2500,6 +2940,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2560,6 +3012,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2634,6 +3098,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -2703,6 +3179,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2761,6 +3249,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2815,6 +3315,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -2879,6 +3391,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -2957,6 +3481,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3026,6 +3562,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3071,6 +3619,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3128,6 +3688,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3173,6 +3745,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3227,6 +3811,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3283,10 +3879,22 @@ "tags": [ "Cloud Backups" ], - "x-sunset": "2025-05-30" - }, - "post": { - "deprecated": true, + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], + "x-sunset": "2025-05-30" + }, + "post": { + "deprecated": true, "description": "Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role.", "operationId": "createExportBucket", "parameters": [ @@ -3347,6 +3955,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3408,6 +4028,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3466,6 +4098,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3514,6 +4158,18 @@ "summary": "Return the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } ] }, "put": { @@ -3584,6 +4240,18 @@ "summary": "Update or enable the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } ] } }, @@ -3629,6 +4297,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3687,6 +4367,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3756,6 +4448,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -3813,6 +4517,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -3889,6 +4605,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -3954,6 +4682,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -4022,6 +4762,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4095,6 +4847,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4163,6 +4927,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4231,6 +5007,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4302,6 +5090,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4365,6 +5165,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -4442,6 +5254,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4508,6 +5332,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4580,6 +5416,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4643,6 +5491,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4709,6 +5569,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -4784,6 +5656,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -4856,6 +5740,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -4923,6 +5819,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -4982,6 +5890,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-sunset": "2025-08-05" }, "get": { @@ -5039,6 +5959,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" }, "patch": { @@ -5110,6 +6042,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" } }, @@ -5179,6 +6123,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5248,6 +6204,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5317,6 +6285,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5387,6 +6367,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5447,6 +6439,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5519,6 +6523,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5589,6 +6605,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5670,6 +6698,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5750,6 +6790,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -5827,6 +6879,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -5887,6 +6951,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -5959,6 +7035,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6019,6 +7107,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6091,6 +7191,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6158,6 +7270,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6234,6 +7358,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6314,6 +7450,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6398,6 +7546,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6476,6 +7636,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -6549,6 +7721,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -6639,6 +7823,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6702,8 +7898,20 @@ "tags": [ "Global Clusters" ], - "x-sunset": "2026-03-01" - } + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], + "x-sunset": "2026-03-01" + } }, "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping": { "delete": { @@ -6765,6 +7973,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -6840,6 +8060,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -6922,6 +8154,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7000,6 +8244,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7163,6 +8419,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7233,6 +8501,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7312,6 +8592,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7409,6 +8701,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -7485,6 +8789,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -7562,6 +8878,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -7653,6 +8981,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -7720,6 +9060,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -7785,6 +9137,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -7858,6 +9222,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -7924,6 +9300,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8003,6 +9391,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8057,6 +9457,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8138,6 +9550,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8208,6 +9632,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8281,6 +9717,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8343,6 +9791,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "get": { @@ -8403,6 +9863,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8477,6 +9949,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -8551,6 +10035,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8609,6 +10105,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -8676,6 +10184,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -8757,6 +10277,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -8830,6 +10362,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -8898,6 +10442,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -8977,6 +10533,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -9034,6 +10602,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -9139,6 +10719,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -9211,6 +10803,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -9277,6 +10881,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -9331,6 +10947,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -9398,6 +11026,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -9454,6 +11094,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -9533,6 +11185,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -9581,6 +11245,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -9647,6 +11323,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -9707,6 +11395,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -9762,6 +11462,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -9837,6 +11549,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -9898,6 +11622,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -9961,6 +11697,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -10015,6 +11763,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -10070,6 +11830,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -10145,6 +11917,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -10205,6 +11989,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -10271,10 +12067,22 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" - ] - }, - "get": { - "description": "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.", + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } + ] + }, + "get": { + "description": "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.", "operationId": "returnFederatedDatabaseQueryLimit", "parameters": [ { @@ -10338,6 +12146,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -10419,6 +12239,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -10503,6 +12335,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -10557,6 +12401,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -10775,6 +12631,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -10845,6 +12713,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -10910,6 +12790,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -10995,6 +12887,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -11061,6 +12965,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -11141,6 +13057,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -11252,6 +13180,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -11360,6 +13300,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -11405,6 +13357,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -11468,6 +13432,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -11525,6 +13501,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -11591,6 +13579,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11671,6 +13671,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -11738,6 +13750,18 @@ "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -11859,6 +13883,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -11928,6 +13964,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -11976,6 +14024,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -12070,6 +14130,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -12167,6 +14239,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -12256,6 +14340,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -12316,6 +14412,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -12389,6 +14497,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -12460,6 +14580,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -12554,6 +14686,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -12645,6 +14789,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -12704,6 +14860,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -12766,6 +14934,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -12822,6 +15002,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -12878,6 +15070,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -12938,6 +15142,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -13009,6 +15225,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -13057,6 +15285,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -13114,6 +15354,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -13189,6 +15441,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -13265,6 +15529,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -13352,6 +15628,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -13421,6 +15709,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13490,6 +15790,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -13554,6 +15866,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -13608,6 +15932,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -13662,6 +15998,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -13704,6 +16052,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -13747,6 +16107,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -13801,6 +16173,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -13843,6 +16227,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -13885,8 +16281,20 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" - ] - } + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } + ] + } }, "/api/atlas/v2/groups/{groupId}/managedSlowMs": { "get": { @@ -13930,6 +16338,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -13975,6 +16395,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -14020,6 +16452,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -14126,6 +16570,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -14197,6 +16653,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -14264,6 +16732,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -14324,6 +16804,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -14382,6 +16874,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -14457,6 +16961,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -14505,6 +17021,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -14562,6 +17090,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -14619,6 +17159,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -14677,6 +17229,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -14749,6 +17313,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -14812,6 +17388,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -14891,6 +17479,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -14951,6 +17551,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -15011,6 +17623,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -15090,6 +17714,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -15163,6 +17799,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -15234,6 +17882,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -15305,6 +17965,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -15365,6 +18037,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -15413,6 +18097,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -15470,6 +18166,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -15529,6 +18237,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -15598,6 +18318,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -15666,6 +18398,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -15732,6 +18476,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -15809,6 +18565,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -15872,6 +18640,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -15944,6 +18724,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -16017,6 +18809,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -16109,6 +18913,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -16191,6 +19007,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -16274,6 +19102,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -16324,6 +19164,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -16386,6 +19238,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -16446,6 +19310,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -16503,6 +19379,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -16563,6 +19451,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -16624,6 +19524,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -16678,6 +19590,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -16734,6 +19658,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -16799,6 +19735,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -16864,6 +19812,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -16968,6 +19928,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -17033,6 +20005,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -17095,6 +20079,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -17208,10 +20204,22 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" - ] - } - }, - "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements": { + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } + ] + } + }, + "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements": { "get": { "description": "Returns disk, partition, or host measurements per process for the specified host for the specified project. Returned value can be one of the following:\n- Throughput of I/O operations for the disk partition used for the MongoDB process\n- Percentage of time during which requests the partition issued and serviced\n- Latency per operation type of the disk partition used for the MongoDB process\n- Amount of free and used disk space on the disk partition used for the MongoDB process\n- Measurements for the host, such as CPU usage or number of I/O operations\n\nTo use this resource, the requesting API Key must have the Project Read Only role.", "operationId": "getHostMeasurements", @@ -17428,6 +20436,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -17502,6 +20522,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -17600,6 +20632,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -17714,6 +20758,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -17765,6 +20821,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -17814,6 +20882,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -17875,6 +20955,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -17936,6 +21028,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -17996,6 +21100,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -18050,6 +21166,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -18104,6 +21232,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -18164,6 +21304,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -18233,6 +21385,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -18308,6 +21472,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -18380,6 +21556,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -18449,6 +21637,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -18519,6 +21719,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -18576,6 +21788,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -18637,6 +21861,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -18700,6 +21936,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -18761,6 +22009,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -18830,6 +22090,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -18884,6 +22156,18 @@ "summary": "Return All project Service Accounts", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } ] }, "post": { @@ -18942,6 +22226,18 @@ "summary": "Create and Assign one Service Account to one project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } ] } }, @@ -19000,6 +22296,18 @@ "summary": "Unassign One Service Account from One Project.", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } ] }, "get": { @@ -19055,6 +22363,18 @@ "summary": "Service Account Fetching", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } ] }, "patch": { @@ -19124,6 +22444,18 @@ "summary": "Service Account Update in Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } ] }, "post": { @@ -19195,6 +22527,18 @@ "summary": "Assign One Service Account to One Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } ] } }, @@ -19246,6 +22590,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -19306,6 +22662,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -19357,6 +22725,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -19414,6 +22794,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -19474,6 +22866,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -19537,6 +22941,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -19609,6 +23025,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -19696,6 +23124,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -19759,6 +23199,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -19828,6 +23280,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -19897,6 +23361,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -19958,6 +23434,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -20039,6 +23527,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -20102,6 +23602,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -20172,6 +23684,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -20236,6 +23760,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -20315,6 +23851,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -20360,6 +23908,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -20417,6 +23977,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -20459,6 +24031,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -20504,6 +24088,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -20563,6 +24159,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -20620,6 +24228,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -20692,6 +24312,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -20752,6 +24384,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -20826,6 +24470,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -20894,6 +24550,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -20957,6 +24625,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -21011,6 +24691,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -21063,6 +24755,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -21126,6 +24830,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -21184,6 +24900,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -21242,6 +24970,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -21303,6 +25043,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -21362,6 +25114,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -21435,6 +25199,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -21505,6 +25281,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -21589,6 +25377,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -21667,6 +25467,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -21740,6 +25552,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -21796,6 +25620,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -21865,6 +25701,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -21958,6 +25806,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -22027,6 +25887,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -22078,6 +25950,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -22146,6 +26030,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -22209,6 +26105,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -22269,6 +26177,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -22329,6 +26249,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -22389,6 +26321,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -22447,6 +26391,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -22519,6 +26475,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -22655,6 +26623,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -22703,6 +26683,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -22769,6 +26761,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -22828,6 +26832,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -22879,6 +26895,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -22924,6 +26952,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -22981,6 +27021,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -23035,6 +27087,18 @@ "summary": "Return All Service Accounts", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } ] }, "post": { @@ -23092,6 +27156,18 @@ "summary": "Service Account Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } ] } }, @@ -23146,6 +27222,18 @@ "summary": "Service Account Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } ] }, "get": { @@ -23201,6 +27289,18 @@ "summary": "Service Account Fetching", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } ] }, "patch": { @@ -23270,6 +27370,18 @@ "summary": "Service Account Update", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } ] } }, @@ -23333,6 +27445,18 @@ "summary": "Return All Service Account projects", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } ] } }, @@ -23401,6 +27525,18 @@ "summary": "Service Account Secret Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } ] } }, @@ -23464,6 +27600,18 @@ "summary": "Service Account Secret Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } ] } }, @@ -23515,6 +27663,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -23575,6 +27735,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -23639,6 +27811,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -23706,6 +27890,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -23770,6 +27966,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -23837,6 +28045,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -23902,6 +28122,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -23981,6 +28213,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -24057,6 +28301,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -24139,6 +28395,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -24215,6 +28483,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -24275,6 +28555,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -24338,6 +28630,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -24412,6 +28716,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -24468,6 +28784,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -24523,6 +28851,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -24580,6 +28920,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml index 7016159f54..6c39fce6ba 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml @@ -29077,6 +29077,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -29103,6 +29114,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -29130,6 +29152,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -29157,6 +29190,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -29182,6 +29226,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -29212,6 +29267,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -29250,6 +29316,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -29287,6 +29364,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -29331,6 +29419,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -29360,6 +29460,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -29395,6 +29506,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -29432,6 +29555,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -29470,6 +29604,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -29515,6 +29660,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -29567,6 +29724,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: get: deprecated: true @@ -29605,6 +29773,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help x-sunset: "2025-01-01" patch: deprecated: true @@ -29651,6 +29830,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help x-sunset: "2025-01-01" /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: @@ -29680,6 +29871,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -29709,6 +29911,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -29755,6 +29968,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -29782,6 +30007,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -29808,6 +30044,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -29845,6 +30092,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -29882,6 +30141,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29913,6 +30184,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -29956,6 +30238,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -29999,6 +30293,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -30038,6 +30343,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -30077,6 +30393,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -30108,6 +30435,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -30144,6 +30482,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -30182,6 +30532,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -30221,6 +30582,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -30269,6 +30641,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -30319,6 +30703,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -30362,6 +30758,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -30404,6 +30811,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -30443,6 +30861,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: deprecated: true description: |- @@ -30491,6 +30920,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -30534,6 +30975,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -30565,6 +31017,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -30596,6 +31059,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30635,6 +31110,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -30680,6 +31166,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -30722,6 +31220,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -30747,6 +31257,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -30780,6 +31301,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -30805,6 +31338,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -30836,6 +31380,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: deprecated: true @@ -30865,6 +31421,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help x-sunset: "2025-05-30" post: deprecated: true @@ -30904,6 +31471,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -30943,6 +31522,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: deprecated: true description: Returns one AWS S3 Bucket or Azure Blob Storage Container associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -30979,6 +31569,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: @@ -31007,6 +31608,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help put: description: '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}' operationId: updateDataProtectionSettings @@ -31049,6 +31661,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -31074,6 +31698,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -31108,6 +31743,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -31150,6 +31797,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -31184,6 +31842,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -31231,6 +31900,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: deprecated: true @@ -31266,6 +31947,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-sunset: "2026-03-01" post: deprecated: true @@ -31307,6 +31999,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -31351,6 +32055,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: deprecated: true description: '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. Deprecated versions: v2-{2023-01-01}' @@ -31389,6 +32104,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-sunset: "2026-03-01" patch: deprecated: true @@ -31437,6 +32163,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: @@ -31475,6 +32213,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -31520,6 +32269,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -31559,6 +32320,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -31596,6 +32368,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -31645,6 +32428,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -31690,6 +32485,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -31732,6 +32538,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: deprecated: true @@ -31768,6 +32585,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-sunset: "2025-08-05" get: deprecated: true @@ -31803,6 +32631,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-sunset: "2025-08-05" patch: deprecated: true @@ -31850,6 +32689,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-sunset: "2025-08-05" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -31890,6 +32741,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -31935,6 +32797,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -31980,6 +32854,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -32024,6 +32909,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -32075,6 +32971,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -32118,6 +33026,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -32162,6 +33081,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -32198,6 +33128,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -32247,6 +33188,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -32294,6 +33247,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32330,6 +33295,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32375,6 +33351,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32411,6 +33398,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -32456,6 +33454,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -32494,6 +33503,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -32542,6 +33562,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -32591,6 +33622,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -32644,6 +33687,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -32694,6 +33748,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -32741,6 +33806,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -32799,6 +33875,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -32838,6 +33926,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -32877,6 +33976,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-sunset: "2026-03-01" post: deprecated: true @@ -32924,6 +34034,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -32975,6 +34097,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-sunset: "2026-03-01" post: deprecated: true @@ -33024,6 +34157,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -33134,6 +34279,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33174,6 +34331,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -33223,6 +34391,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -33271,6 +34451,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -33320,6 +34511,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -33378,6 +34580,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -33442,6 +34656,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -33483,6 +34708,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -33523,6 +34759,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -33568,6 +34815,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: deprecated: true @@ -33608,6 +34867,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-sunset: "2026-03-01" patch: deprecated: true @@ -33658,6 +34928,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -33691,6 +34973,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -33742,6 +35036,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -33785,6 +35090,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -33834,6 +35151,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: deprecated: true @@ -33871,6 +35199,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help x-sunset: "2026-03-01" get: deprecated: true @@ -33908,6 +35247,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help x-sunset: "2026-03-01" patch: deprecated: true @@ -33954,6 +35304,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help x-sunset: "2026-03-01" post: deprecated: true @@ -34000,6 +35362,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -34039,6 +35413,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -34083,6 +35468,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -34131,6 +35528,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -34177,6 +35585,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -34220,6 +35639,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -34270,6 +35700,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -34304,6 +35746,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -34373,6 +35826,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -34413,6 +35877,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -34453,6 +35928,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -34493,6 +35980,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -34534,6 +36033,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -34573,6 +36083,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -34614,6 +36136,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -34648,6 +36181,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -34697,6 +36241,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34725,6 +36281,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34752,6 +36319,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -34791,6 +36369,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -34826,6 +36416,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -34858,6 +36459,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -34903,6 +36515,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -34939,6 +36563,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -34976,6 +36611,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -35007,6 +36654,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -35040,6 +36698,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -35085,6 +36754,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -35120,6 +36801,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -35169,6 +36861,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -35218,6 +36921,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -35277,6 +36991,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -35332,6 +37058,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -35360,6 +37097,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -35490,6 +37238,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35545,6 +37305,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -35597,6 +37368,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -35662,6 +37444,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -35698,6 +37492,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35752,6 +37557,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -35823,6 +37640,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -35891,6 +37719,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -35919,6 +37758,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -35968,6 +37818,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -36001,6 +37863,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -36040,6 +37913,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -36089,6 +37974,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -36130,6 +38026,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -36212,6 +38119,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -36257,6 +38175,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -36284,6 +38213,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -36341,6 +38281,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -36397,6 +38348,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -36452,6 +38414,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -36484,6 +38457,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -36531,6 +38515,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -36577,6 +38572,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -36635,6 +38641,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -36691,6 +38709,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -36725,6 +38755,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -36762,6 +38803,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -36795,6 +38848,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -36830,6 +38895,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -36867,6 +38943,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -36912,6 +38999,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -36940,6 +39039,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36973,6 +39083,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -37038,6 +39159,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -37104,6 +39236,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -37180,6 +39323,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: deprecated: true @@ -37228,6 +39383,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -37259,6 +39426,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -37289,6 +39467,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: deprecated: true @@ -37330,6 +39520,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -37371,6 +39573,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -37395,6 +39608,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -37419,6 +39643,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -37451,6 +39686,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37475,6 +39722,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -37499,6 +39758,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -37524,6 +39795,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -37549,6 +39831,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -37574,6 +39867,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -37640,6 +39945,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37680,6 +39996,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -37720,6 +40047,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -37756,6 +40095,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -37791,6 +40141,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -37837,6 +40198,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37865,6 +40238,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -37899,6 +40283,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -37934,6 +40330,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -37969,6 +40376,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -38014,6 +40432,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -38052,6 +40482,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -38098,6 +40539,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -38134,6 +40586,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -38170,6 +40634,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38216,6 +40692,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -38262,6 +40749,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -38307,6 +40805,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -38350,6 +40859,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38388,6 +40909,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38433,6 +40965,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -38479,6 +41022,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -38537,6 +41091,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -38589,6 +41155,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -38642,6 +41219,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -38677,6 +41265,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38704,6 +41304,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -38737,6 +41348,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -38773,6 +41396,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -38819,6 +41453,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -38862,6 +41508,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -38904,6 +41561,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -38953,6 +41621,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -38982,6 +41662,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -39019,6 +41710,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -39051,6 +41754,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -39103,6 +41817,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -39139,6 +41865,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -39176,6 +41913,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39204,6 +41952,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39237,6 +41996,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39273,6 +42043,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39312,6 +42093,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39377,6 +42169,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39413,6 +42216,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39451,6 +42265,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -39532,6 +42357,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -39724,6 +42560,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39777,6 +42624,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -39847,6 +42705,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39924,6 +42793,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -39953,6 +42833,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -39981,6 +42872,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -40017,6 +42919,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -40053,6 +42967,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -40090,6 +43016,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -40123,6 +43061,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40151,6 +43100,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -40186,6 +43146,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -40225,6 +43197,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -40271,6 +43254,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -40316,6 +43311,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -40355,6 +43361,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -40400,6 +43417,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -40434,6 +43462,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -40472,6 +43511,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -40510,6 +43561,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -40547,6 +43609,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -40589,6 +43662,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/serviceAccounts: get: description: Returns list of Service Accounts for a project with service account details. @@ -40618,6 +43703,17 @@ paths: summary: Return All project Service Accounts tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help post: description: Creates and assigns the specified Service Account to the specified Project. operationId: createProjectServiceAccount @@ -40652,6 +43748,18 @@ paths: summary: Create and Assign one Service Account to one project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}: delete: description: Removes one Service Account from the specified project. @@ -40686,6 +43794,17 @@ paths: summary: Unassign One Service Account from One Project. tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help get: description: Get project Service Account Details. operationId: getProjectServiceAccount @@ -40718,6 +43837,17 @@ paths: summary: Service Account Fetching tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help patch: description: Update Service Account in Project. operationId: updateProjectServiceAccount @@ -40759,6 +43889,18 @@ paths: summary: Service Account Update in Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help post: description: Assigns the specified organization Service Account to the specified project. operationId: addProjectServiceAccount @@ -40802,6 +43944,18 @@ paths: summary: Assign One Service Account to One Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40831,6 +43985,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -40866,6 +44031,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -40893,6 +44070,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -40926,6 +44114,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -40961,6 +44161,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -40999,6 +44210,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -41042,6 +44264,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -41098,6 +44332,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -41133,6 +44378,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -41174,6 +44430,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -41215,6 +44483,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -41252,6 +44531,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -41301,6 +44591,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41335,6 +44637,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -41377,6 +44690,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -41417,6 +44742,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -41466,6 +44802,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41491,6 +44839,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41527,6 +44886,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -41554,6 +44925,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41579,6 +44961,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41613,6 +45006,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41647,6 +45052,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41687,6 +45103,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41723,6 +45150,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -41768,6 +45206,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41806,6 +45256,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -41844,6 +45305,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -41882,6 +45354,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -41919,6 +45403,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -41949,6 +45444,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -41986,6 +45492,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -42017,6 +45535,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42051,6 +45580,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42088,6 +45629,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -42124,6 +45676,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -42169,6 +45732,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -42209,6 +45784,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -42258,6 +45844,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -42307,6 +45905,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -42353,6 +45962,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -42386,6 +46006,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -42429,6 +46061,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -42489,6 +46132,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -42534,6 +46188,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -42563,6 +46228,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -42608,6 +46284,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42645,6 +46332,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -42680,6 +46378,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -42715,6 +46425,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -42750,6 +46472,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -42786,6 +46519,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -42830,6 +46574,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -42919,6 +46675,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -42961,6 +46728,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -43004,6 +46782,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -43031,6 +46820,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -43060,6 +46860,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -43086,6 +46897,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -43119,6 +46941,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: description: Returns list of Service Accounts with service account details. @@ -43148,6 +46982,17 @@ paths: summary: Return All Service Accounts tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help post: description: Create Service Account containing client id and client secrets. operationId: createServiceAccount @@ -43181,6 +47026,18 @@ paths: summary: Service Account Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}: delete: description: Delete Service Account. @@ -43212,6 +47069,17 @@ paths: summary: Service Account Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help get: description: Get Service Account Details. operationId: getServiceAccount @@ -43244,6 +47112,17 @@ paths: summary: Service Account Fetching tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help patch: description: Update Service Account. operationId: updateServiceAccount @@ -43285,6 +47164,18 @@ paths: summary: Service Account Update tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups: get: description: Returns list of Service Account projects. @@ -43320,6 +47211,17 @@ paths: summary: Return All Service Account projects tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets: post: description: Create Service Account secret. @@ -43360,6 +47262,18 @@ paths: summary: Service Account Secret Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}: delete: description: Delete Service Account Secret. @@ -43397,6 +47311,17 @@ paths: summary: Service Account Secret Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43426,6 +47351,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -43461,6 +47397,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -43496,6 +47444,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -43536,6 +47495,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43577,6 +47548,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -43617,6 +47599,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -43666,6 +47659,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -43711,6 +47716,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -43762,6 +47778,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43810,6 +47838,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -43848,6 +47887,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -43880,6 +47930,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -43919,6 +47980,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -43964,6 +48036,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/users: post: description: |- @@ -44002,6 +48086,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -44037,6 +48133,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -44070,6 +48177,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-10-01+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: @@ -44095,8 +48213,6 @@ tags: name: Cluster Outage Simulation - description: Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID. name: Clusters - - description: Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data. - name: Collection Level Metrics - description: 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. name: Custom Database Roles - description: Returns, adds, edits, and removes Federated Database Instances. This resource requires your project ID. Changes to federated database instance configurations can affect costs. diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json index a5fb8c2c31..90deb2d14f 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json @@ -246,6 +246,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +303,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +366,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +429,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +483,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +549,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +622,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +693,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +775,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +838,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +910,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +983,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1057,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1142,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1240,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] }, "post": { @@ -1132,6 +1312,18 @@ "summary": "Create One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } ] } }, @@ -1187,6 +1379,18 @@ "summary": "Delete One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } ] }, "get": { @@ -1246,6 +1450,18 @@ "summary": "Return One Identity Provider by ID", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } ] }, "patch": { @@ -1313,6 +1529,18 @@ "summary": "Update One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } ] } }, @@ -1368,6 +1596,18 @@ "summary": "Revoke the JWKS from One OIDC Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } ] } }, @@ -1416,6 +1656,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1470,6 +1722,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1544,6 +1808,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1606,6 +1882,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1654,6 +1942,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1700,6 +2000,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1763,6 +2075,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1827,6 +2151,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1885,6 +2221,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1961,6 +2309,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -2024,6 +2384,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -2088,6 +2460,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -2153,6 +2537,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2207,6 +2603,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2264,6 +2672,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2322,6 +2742,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2381,6 +2813,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2451,6 +2895,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2524,6 +2980,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2594,6 +3062,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2664,6 +3144,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2724,6 +3216,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2798,6 +3302,18 @@ "tags": [ "Alerts" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -2867,6 +3383,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2925,6 +3453,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2979,6 +3519,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -3043,6 +3595,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -3121,6 +3685,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3190,6 +3766,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3235,6 +3823,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3292,6 +3892,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3337,6 +3949,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3391,6 +4015,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3447,6 +4083,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } + ], "x-sunset": "2025-05-30" }, "post": { @@ -3511,6 +4159,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3572,6 +4232,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3630,6 +4302,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -3678,6 +4362,18 @@ "summary": "Return the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } ] }, "put": { @@ -3748,6 +4444,18 @@ "summary": "Update or enable the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } ] } }, @@ -3793,6 +4501,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3851,6 +4571,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3920,6 +4652,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -3977,6 +4721,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -4053,6 +4809,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -4118,6 +4886,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -4186,6 +4966,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4259,6 +5051,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4327,6 +5131,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4395,6 +5211,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4466,6 +5294,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4529,6 +5369,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -4606,6 +5458,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4672,6 +5536,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4744,6 +5620,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4807,6 +5695,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4873,6 +5773,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -4948,6 +5860,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -5020,6 +5944,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -5087,6 +6023,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -5146,6 +6094,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-sunset": "2025-08-05" }, "get": { @@ -5203,6 +6163,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" }, "patch": { @@ -5274,6 +6246,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" } }, @@ -5343,6 +6327,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5412,6 +6408,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5481,6 +6489,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5551,6 +6571,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5611,6 +6643,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5683,6 +6727,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5753,6 +6809,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5834,6 +6902,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5914,6 +6994,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -5991,6 +7083,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6051,6 +7155,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -6123,6 +7239,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6183,6 +7311,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6255,6 +7395,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6322,6 +7474,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6398,6 +7562,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6458,6 +7634,18 @@ "summary": "Return Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } ] }, "patch": { @@ -6538,6 +7726,18 @@ "summary": "Add Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } ] }, "put": { @@ -6618,6 +7818,18 @@ "summary": "Pin Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } ] } }, @@ -6689,6 +7901,18 @@ "summary": "Unpin namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } ] } }, @@ -6769,6 +7993,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6853,6 +8089,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6931,6 +8179,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -7004,6 +8264,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -7094,6 +8366,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7157,6 +8441,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7220,6 +8516,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7295,6 +8603,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7377,6 +8697,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7455,6 +8787,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7618,6 +8962,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7688,6 +9044,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7767,6 +9135,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7864,6 +9244,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -7940,6 +9332,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -8017,6 +9421,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -8108,6 +9524,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -8175,6 +9603,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -8240,6 +9680,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -8313,6 +9765,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -8379,6 +9843,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8458,6 +9934,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8512,6 +10000,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8593,6 +10093,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8663,6 +10175,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8736,6 +10260,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8798,6 +10334,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "get": { @@ -8858,6 +10406,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8932,6 +10492,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -9006,6 +10578,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -9064,6 +10648,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -9131,6 +10727,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -9212,6 +10820,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -9285,6 +10905,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -9353,6 +10985,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -9432,6 +11076,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -9489,6 +11145,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -9566,6 +11234,18 @@ "summary": "Return Ranked Namespaces from a Cluster", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } ] } }, @@ -9696,6 +11376,18 @@ "summary": "Return Cluster-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } ] } }, @@ -9801,6 +11493,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -9849,6 +11553,18 @@ "summary": "Return all metric names", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } ] } }, @@ -9921,6 +11637,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -9987,6 +11715,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -10041,6 +11781,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -10108,6 +11860,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -10164,6 +11928,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -10243,6 +12019,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -10291,6 +12079,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -10357,6 +12157,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -10417,6 +12229,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -10472,6 +12296,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -10547,6 +12383,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -10608,6 +12456,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -10671,6 +12531,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -10725,6 +12597,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -10780,6 +12664,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -10855,6 +12751,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -10915,6 +12823,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -10981,6 +12901,18 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } ] }, "get": { @@ -11048,6 +12980,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -11129,6 +13073,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -11213,6 +13169,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -11267,6 +13235,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -11485,6 +13465,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -11555,6 +13547,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -11620,6 +13624,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -11705,6 +13721,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -11771,6 +13799,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -11851,6 +13891,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -11958,10 +14010,22 @@ { "DigestAuth": [] } - ], - "summary": "Return Database Access History for One Cluster using Its Cluster Name", - "tags": [ - "Access Tracking" + ], + "summary": "Return Database Access History for One Cluster using Its Cluster Name", + "tags": [ + "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -12070,6 +14134,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -12115,6 +14191,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -12178,6 +14266,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -12235,6 +14335,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -12301,6 +14413,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -12381,6 +14505,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -12448,6 +14584,18 @@ "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -12569,6 +14717,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -12638,6 +14798,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -12686,6 +14858,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -12780,6 +14964,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -12877,6 +15073,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -12966,6 +15174,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -13026,6 +15246,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -13099,6 +15331,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -13170,6 +15414,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -13264,6 +15520,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -13355,6 +15623,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -13414,6 +15694,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -13476,6 +15768,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -13532,6 +15836,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -13588,6 +15904,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -13648,6 +15976,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -13719,6 +16059,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -13767,6 +16119,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -13824,6 +16188,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -13899,6 +16275,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -13975,6 +16363,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -14062,6 +16462,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -14131,6 +16543,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -14200,6 +16624,18 @@ "tags": [ "Cloud Migration Service" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } + ], "x-sunset": "2025-05-30" } }, @@ -14264,6 +16700,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -14318,6 +16766,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -14372,6 +16832,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -14414,6 +16886,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -14457,6 +16941,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -14511,6 +17007,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -14553,6 +17061,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -14595,6 +17115,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -14640,6 +17172,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -14685,6 +17229,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -14730,6 +17286,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -14836,6 +17404,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -14907,6 +17487,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -14974,6 +17566,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -15034,6 +17638,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -15092,6 +17708,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -15167,6 +17795,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -15215,6 +17855,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -15272,6 +17924,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -15329,6 +17993,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -15387,6 +18063,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -15459,6 +18147,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -15522,6 +18222,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -15553,7 +18265,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -15601,6 +18313,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -15661,6 +18385,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -15721,6 +18457,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -15752,7 +18500,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -15800,6 +18548,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -15873,6 +18633,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -15944,6 +18716,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -16015,6 +18799,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -16075,6 +18871,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -16123,6 +18931,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -16180,6 +19000,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -16239,6 +19071,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -16308,6 +19152,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -16376,6 +19232,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -16442,6 +19310,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -16519,6 +19399,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -16582,6 +19474,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -16654,6 +19558,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -16727,6 +19643,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -16819,6 +19747,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -16901,6 +19841,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -16984,6 +19936,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -17034,6 +19998,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -17096,6 +20072,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -17156,6 +20144,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -17213,6 +20213,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -17273,6 +20285,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -17334,6 +20358,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -17388,6 +20424,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -17444,6 +20492,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -17498,6 +20558,18 @@ "summary": "Return Ranked Namespaces from a Host", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } ] } }, @@ -17563,6 +20635,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -17628,6 +20712,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -17732,6 +20828,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -17797,6 +20905,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -17859,6 +20979,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -17972,6 +21104,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -18192,6 +21336,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -18266,6 +21422,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -18364,6 +21532,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -18478,6 +21658,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -18583,6 +21775,18 @@ "summary": "Return Host-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } ] } }, @@ -18634,6 +21838,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -18683,6 +21899,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -18744,6 +21972,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -18805,6 +22045,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -18865,6 +22117,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -18919,6 +22183,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -18973,6 +22249,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -19033,6 +22321,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -19102,6 +22402,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -19177,6 +22489,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -19249,6 +22573,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -19318,6 +22654,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -19388,6 +22736,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -19445,6 +22805,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -19506,6 +22878,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -19569,6 +22953,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -19630,6 +23026,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -19699,6 +23107,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -19753,6 +23173,18 @@ "summary": "Return All project Service Accounts", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } ] }, "post": { @@ -19811,6 +23243,18 @@ "summary": "Create and Assign one Service Account to one project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } ] } }, @@ -19869,6 +23313,18 @@ "summary": "Unassign One Service Account from One Project.", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } ] }, "get": { @@ -19924,6 +23380,18 @@ "summary": "Service Account Fetching", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } ] }, "patch": { @@ -19993,6 +23461,18 @@ "summary": "Service Account Update in Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } ] }, "post": { @@ -20064,6 +23544,18 @@ "summary": "Assign One Service Account to One Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } ] } }, @@ -20115,6 +23607,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -20175,6 +23679,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -20226,6 +23742,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -20283,6 +23811,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -20343,6 +23883,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -20406,6 +23958,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -20478,6 +24042,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -20565,6 +24141,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -20628,6 +24216,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -20697,6 +24297,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -20766,6 +24378,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -20827,6 +24451,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -20908,6 +24544,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -20971,6 +24619,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -21041,6 +24701,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -21105,6 +24777,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -21184,6 +24868,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -21229,6 +24925,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -21286,6 +24994,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -21328,6 +25048,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -21373,6 +25105,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -21432,6 +25176,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -21489,6 +25245,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -21561,6 +25329,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -21621,6 +25401,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -21695,6 +25487,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -21763,6 +25567,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -21826,6 +25642,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -21880,6 +25708,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -21932,6 +25772,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -21995,6 +25847,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -22053,6 +25917,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -22111,6 +25987,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -22172,6 +26060,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -22231,6 +26131,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -22304,6 +26216,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -22374,6 +26298,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -22458,6 +26394,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -22536,6 +26484,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -22609,6 +26569,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -22665,6 +26637,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -22734,6 +26718,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -22794,7 +26790,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -22827,6 +26823,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -22896,6 +26904,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -22947,6 +26967,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -23015,6 +27047,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -23078,6 +27122,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -23138,6 +27194,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -23198,6 +27266,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -23258,6 +27338,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -23316,6 +27408,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -23388,6 +27492,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -23524,6 +27640,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -23572,6 +27700,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -23638,6 +27778,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -23697,6 +27849,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -23748,6 +27912,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -23793,6 +27969,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -23850,6 +28038,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -23904,6 +28104,18 @@ "summary": "Return All Service Accounts", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } ] }, "post": { @@ -23961,6 +28173,18 @@ "summary": "Service Account Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } ] } }, @@ -24015,6 +28239,18 @@ "summary": "Service Account Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } ] }, "get": { @@ -24070,6 +28306,18 @@ "summary": "Service Account Fetching", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } ] }, "patch": { @@ -24139,6 +28387,18 @@ "summary": "Service Account Update", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } ] } }, @@ -24202,6 +28462,18 @@ "summary": "Return All Service Account projects", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } ] } }, @@ -24270,6 +28542,18 @@ "summary": "Service Account Secret Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } ] } }, @@ -24333,6 +28617,18 @@ "summary": "Service Account Secret Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } ] } }, @@ -24384,6 +28680,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -24444,6 +28752,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -24508,6 +28828,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -24575,6 +28907,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -24639,6 +28983,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -24706,6 +29062,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -24771,6 +29139,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -24850,6 +29230,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -24926,6 +29318,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -25008,6 +29412,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -25084,6 +29500,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -25144,6 +29572,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -25207,6 +29647,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -25281,6 +29733,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -25312,6 +29776,18 @@ "summary": "Return All Control Plane IP Addresses", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIPAddresses --help" + } ] } }, @@ -25368,6 +29844,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -25423,6 +29911,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -25480,6 +29980,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml index dd4b1696a9..89d6f0be80 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml @@ -29598,6 +29598,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -29624,6 +29635,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -29651,6 +29673,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -29678,6 +29711,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -29703,6 +29747,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -29733,6 +29788,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -29771,6 +29837,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -29808,6 +29885,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -29852,6 +29940,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -29881,6 +29981,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -29916,6 +30027,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -29953,6 +30076,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -29991,6 +30125,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -30036,6 +30181,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30088,6 +30245,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help post: description: |- Creates one identity provider within the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30127,6 +30295,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: description: "Deletes one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Requests to this resource will fail if the identity provider has any connected organizations. Before deleting an identity provider, disconnect all organizations and confirm that no organization in your account uses this identity provider. To learn more, see [Manage Organization Mapping for Federated Authentication](https://www.mongodb.com/docs/atlas/security/manage-org-mapping/)." @@ -30160,6 +30340,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' operationId: getIdentityProvider @@ -30196,6 +30387,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help patch: description: |- Updates one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30240,6 +30442,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: description: "Revokes the JWKS tokens from the requested OIDC identity provider. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Revoking your JWKS tokens immediately refreshes your IdP public keys from all your Atlas clusters, invalidating previously signed access tokens and logging out all users. You may need to restart your MongoDB clients. All organizations connected to the identity provider will be affected. To learn more, see [Configure OIDC Authorization](https://www.mongodb.com/docs/atlas/security-oidc/#revoke-jwks)." @@ -30273,6 +30487,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: description: Returns the metadata of one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30301,6 +30526,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -30330,6 +30566,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -30376,6 +30623,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30403,6 +30662,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -30429,6 +30699,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -30466,6 +30747,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -30503,6 +30796,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -30534,6 +30839,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -30577,6 +30893,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -30620,6 +30948,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -30659,6 +30998,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -30698,6 +31048,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -30729,6 +31090,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -30765,6 +31137,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -30803,6 +31187,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -30842,6 +31237,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -30890,6 +31296,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -30940,6 +31358,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -30983,6 +31413,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -31025,6 +31466,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -31064,6 +31516,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: deprecated: true description: |- @@ -31112,6 +31575,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: @@ -31155,6 +31630,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -31186,6 +31672,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -31217,6 +31714,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31256,6 +31765,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -31301,6 +31821,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -31343,6 +31875,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -31368,6 +31912,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -31401,6 +31956,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -31426,6 +31993,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -31457,6 +32035,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: deprecated: true @@ -31486,6 +32076,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help x-sunset: "2025-05-30" post: deprecated: true @@ -31525,6 +32126,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: @@ -31564,6 +32177,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: deprecated: true description: Returns one AWS S3 Bucket or Azure Blob Storage Container associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31600,6 +32224,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: @@ -31628,6 +32263,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help put: description: '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}' operationId: updateDataProtectionSettings @@ -31670,6 +32316,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -31695,6 +32353,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -31729,6 +32398,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -31771,6 +32452,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -31805,6 +32497,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -31852,6 +32555,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: deprecated: true @@ -31887,6 +32602,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-sunset: "2026-03-01" post: deprecated: true @@ -31928,6 +32654,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -31972,6 +32710,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: deprecated: true description: '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. Deprecated versions: v2-{2023-01-01}' @@ -32010,6 +32759,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-sunset: "2026-03-01" patch: deprecated: true @@ -32058,6 +32818,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -32147,6 +32919,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: description: Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window. @@ -32193,6 +32976,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: description: 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. @@ -32230,6 +33024,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -32275,6 +33080,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -32314,6 +33131,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -32351,6 +33179,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -32400,6 +33239,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -32445,6 +33296,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -32487,6 +33349,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: deprecated: true @@ -32523,6 +33396,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-sunset: "2025-08-05" get: deprecated: true @@ -32558,6 +33442,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-sunset: "2025-08-05" patch: deprecated: true @@ -32605,6 +33500,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-sunset: "2025-08-05" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -32645,6 +33552,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -32690,6 +33608,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -32735,6 +33665,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -32779,6 +33720,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -32830,6 +33782,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -32873,6 +33837,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -32917,6 +33892,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -32953,6 +33939,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -33002,6 +33999,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -33049,6 +34058,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33085,6 +34106,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33130,6 +34162,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33166,6 +34209,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33211,6 +34265,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -33249,6 +34314,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -33297,6 +34373,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: description: Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on. @@ -33334,6 +34421,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster operationId: pinNamespacesPatch @@ -33384,6 +34482,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help put: description: 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. operationId: pinNamespacesPut @@ -33434,6 +34544,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: description: Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster @@ -33478,6 +34600,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -33527,6 +34661,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -33580,6 +34726,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -33630,6 +34787,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -33677,6 +34845,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -33735,6 +34914,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -33774,6 +34965,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -33813,6 +35015,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-sunset: "2026-03-01" post: deprecated: true @@ -33860,6 +35073,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -33911,6 +35136,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-sunset: "2026-03-01" post: deprecated: true @@ -33960,6 +35196,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -34070,6 +35318,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34110,6 +35370,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -34159,6 +35430,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -34207,6 +35490,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -34256,6 +35550,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -34314,6 +35619,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -34378,6 +35695,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -34419,6 +35747,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -34459,6 +35798,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -34504,6 +35854,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: deprecated: true @@ -34544,6 +35906,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-sunset: "2026-03-01" patch: deprecated: true @@ -34594,6 +35967,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -34627,6 +36012,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -34678,6 +36075,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -34721,6 +36129,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -34770,6 +36190,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: deprecated: true @@ -34807,6 +36238,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help x-sunset: "2026-03-01" get: deprecated: true @@ -34844,6 +36286,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help x-sunset: "2026-03-01" patch: deprecated: true @@ -34890,6 +36343,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help x-sunset: "2026-03-01" post: deprecated: true @@ -34936,6 +36401,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: @@ -34975,6 +36452,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -35019,6 +36507,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -35067,6 +36567,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -35113,6 +36624,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -35156,6 +36678,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -35206,6 +36739,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -35240,6 +36785,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -35309,6 +36865,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -35349,6 +36916,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -35389,6 +36967,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -35429,6 +37019,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/collStats/metrics: get: description: Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request. @@ -35457,6 +37059,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -35498,6 +37111,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -35537,6 +37161,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -35578,6 +37214,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -35612,6 +37259,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -35661,6 +37319,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -35689,6 +37359,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -35716,6 +37397,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -35755,6 +37447,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -35790,6 +37494,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -35822,6 +37537,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -35867,6 +37593,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -35903,6 +37641,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -35940,6 +37689,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -35971,6 +37732,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -36004,6 +37776,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -36049,6 +37832,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -36084,6 +37879,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -36133,6 +37939,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -36182,6 +37999,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -36241,6 +38069,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -36296,6 +38136,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -36324,6 +38175,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -36454,6 +38316,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36509,6 +38383,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -36561,6 +38446,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -36626,6 +38522,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36662,6 +38570,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36716,6 +38635,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -36787,6 +38718,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -36855,6 +38797,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -36883,6 +38836,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -36932,6 +38896,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -36965,6 +38941,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -37004,6 +38991,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -37053,6 +39052,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -37094,6 +39104,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -37176,6 +39197,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -37221,6 +39253,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -37248,6 +39291,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -37305,6 +39359,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -37361,6 +39426,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -37416,6 +39492,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -37448,6 +39535,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -37495,6 +39593,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -37541,6 +39650,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -37599,6 +39719,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -37655,6 +39787,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -37689,6 +39833,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -37726,6 +39881,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -37759,6 +39926,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -37794,6 +39973,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -37831,6 +40021,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -37876,6 +40077,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -37904,6 +40117,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37937,6 +40161,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -38002,6 +40237,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -38068,6 +40314,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -38144,6 +40401,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: deprecated: true @@ -38192,6 +40461,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: @@ -38223,6 +40504,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -38253,6 +40545,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: deprecated: true @@ -38294,6 +40598,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help x-sunset: "2025-05-30" /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: @@ -38335,6 +40651,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -38359,6 +40686,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -38383,6 +40721,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -38415,6 +40764,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38439,6 +40800,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -38463,6 +40836,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -38488,6 +40873,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -38513,6 +40909,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -38538,6 +40945,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -38604,6 +41023,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38644,6 +41074,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -38684,6 +41125,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -38720,6 +41173,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -38755,6 +41219,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -38801,6 +41276,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38829,6 +41316,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -38863,6 +41361,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -38898,6 +41408,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -38933,6 +41454,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -38978,6 +41510,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -39016,6 +41560,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -39031,7 +41586,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -39062,6 +41617,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -39098,6 +41664,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -39134,6 +41712,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39149,7 +41739,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -39180,6 +41770,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -39226,6 +41827,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -39271,6 +41883,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -39314,6 +41937,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39352,6 +41987,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -39397,6 +42043,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -39443,6 +42100,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -39501,6 +42169,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -39553,6 +42233,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -39606,6 +42297,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -39641,6 +42343,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39668,6 +42382,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -39701,6 +42426,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -39737,6 +42474,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -39783,6 +42531,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -39826,6 +42586,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -39868,6 +42639,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -39917,6 +42699,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -39946,6 +42740,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -39983,6 +42788,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -40015,6 +42832,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -40067,6 +42895,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -40103,6 +42943,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -40140,6 +42991,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40168,6 +43030,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40201,6 +43074,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency process-level measurements for the given namespace @@ -40269,6 +43153,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: description: Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window. @@ -40297,6 +43192,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40333,6 +43239,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40372,6 +43289,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40437,6 +43365,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40473,6 +43412,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40511,6 +43461,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -40592,6 +43553,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -40784,6 +43756,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40837,6 +43820,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -40907,6 +43901,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40984,6 +43989,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -41013,6 +44029,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -41041,6 +44068,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -41077,6 +44115,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -41113,6 +44163,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -41150,6 +44212,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -41183,6 +44257,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41211,6 +44296,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -41246,6 +44342,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -41285,6 +44393,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -41331,6 +44450,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -41376,6 +44507,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -41415,6 +44557,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -41460,6 +44613,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -41494,6 +44658,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -41532,6 +44707,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -41570,6 +44757,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -41607,6 +44805,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -41649,6 +44858,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/serviceAccounts: get: description: Returns list of Service Accounts for a project with service account details. @@ -41678,6 +44899,17 @@ paths: summary: Return All project Service Accounts tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help post: description: Creates and assigns the specified Service Account to the specified Project. operationId: createProjectServiceAccount @@ -41712,6 +44944,18 @@ paths: summary: Create and Assign one Service Account to one project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}: delete: description: Removes one Service Account from the specified project. @@ -41746,6 +44990,17 @@ paths: summary: Unassign One Service Account from One Project. tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help get: description: Get project Service Account Details. operationId: getProjectServiceAccount @@ -41778,6 +45033,17 @@ paths: summary: Service Account Fetching tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help patch: description: Update Service Account in Project. operationId: updateProjectServiceAccount @@ -41819,6 +45085,18 @@ paths: summary: Service Account Update in Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help post: description: Assigns the specified organization Service Account to the specified project. operationId: addProjectServiceAccount @@ -41862,6 +45140,18 @@ paths: summary: Assign One Service Account to One Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41891,6 +45181,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -41926,6 +45227,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -41953,6 +45266,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -41986,6 +45310,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -42021,6 +45357,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -42059,6 +45406,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -42102,6 +45460,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -42158,6 +45528,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -42193,6 +45574,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -42234,6 +45626,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -42275,6 +45679,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -42312,6 +45727,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -42361,6 +45787,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42395,6 +45833,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -42437,6 +45886,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -42477,6 +45938,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -42526,6 +45998,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42551,6 +46035,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42587,6 +46082,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -42614,6 +46121,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42639,6 +46157,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42673,6 +46202,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42707,6 +46248,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42747,6 +46299,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -42783,6 +46346,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -42828,6 +46402,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42866,6 +46452,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -42904,6 +46501,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -42942,6 +46550,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -42979,6 +46599,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -43009,6 +46640,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -43046,6 +46688,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -43077,6 +46731,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -43111,6 +46776,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43148,6 +46825,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -43184,6 +46872,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -43229,6 +46928,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -43269,6 +46980,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -43318,6 +47040,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -43367,6 +47101,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -43413,6 +47158,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -43446,6 +47202,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -43489,6 +47257,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -43529,7 +47308,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -43549,6 +47328,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -43594,6 +47384,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -43623,6 +47424,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -43668,6 +47480,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43705,6 +47528,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -43740,6 +47574,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -43775,6 +47621,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43810,6 +47668,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -43846,6 +47715,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -43890,6 +47770,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -43979,6 +47871,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -44021,6 +47924,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -44064,6 +47978,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -44091,6 +48016,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -44120,6 +48056,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -44146,6 +48093,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -44179,6 +48137,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: description: Returns list of Service Accounts with service account details. @@ -44208,6 +48178,17 @@ paths: summary: Return All Service Accounts tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help post: description: Create Service Account containing client id and client secrets. operationId: createServiceAccount @@ -44241,6 +48222,18 @@ paths: summary: Service Account Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}: delete: description: Delete Service Account. @@ -44272,6 +48265,17 @@ paths: summary: Service Account Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help get: description: Get Service Account Details. operationId: getServiceAccount @@ -44304,6 +48308,17 @@ paths: summary: Service Account Fetching tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help patch: description: Update Service Account. operationId: updateServiceAccount @@ -44345,6 +48360,18 @@ paths: summary: Service Account Update tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups: get: description: Returns list of Service Account projects. @@ -44380,6 +48407,17 @@ paths: summary: Return All Service Account projects tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets: post: description: Create Service Account secret. @@ -44420,6 +48458,18 @@ paths: summary: Service Account Secret Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}: delete: description: Delete Service Account Secret. @@ -44457,6 +48507,17 @@ paths: summary: Service Account Secret Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44486,6 +48547,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -44521,6 +48593,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -44556,6 +48640,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44596,6 +48691,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44637,6 +48744,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -44677,6 +48795,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44726,6 +48855,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -44771,6 +48912,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44822,6 +48974,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44870,6 +49034,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -44908,6 +49083,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -44940,6 +49126,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -44979,6 +49176,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -45024,6 +49232,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/unauth/controlPlaneIPAddresses: get: description: Returns all control plane IP addresses. Currently, inbound Atlas control plane IP addresses are not yet available. The inbound IP address list in your API response is empty. To manually retrieve a list of inbound Atlas control plane IP addresses, see [Required Inbound Access](https://www.mongodb.com/docs/atlas/setup-cluster-security/#std-label-atlas-required-inbound-access). @@ -45043,6 +49263,17 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIPAddresses --help /api/atlas/v2/users: post: description: |- @@ -45081,6 +49312,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -45116,6 +49359,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -45149,6 +49403,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2023-11-15+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json index 4c139bac23..a67a10d996 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json @@ -246,6 +246,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +303,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +366,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +429,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +483,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +549,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +622,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +693,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +775,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +838,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +910,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +983,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1057,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1142,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1240,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] }, "post": { @@ -1132,6 +1312,18 @@ "summary": "Create One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } ] } }, @@ -1187,6 +1379,18 @@ "summary": "Delete One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } ] }, "get": { @@ -1246,6 +1450,18 @@ "summary": "Return One Identity Provider by ID", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } ] }, "patch": { @@ -1313,6 +1529,18 @@ "summary": "Update One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } ] } }, @@ -1368,6 +1596,18 @@ "summary": "Revoke the JWKS from One OIDC Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } ] } }, @@ -1416,6 +1656,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1470,6 +1722,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1544,6 +1808,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1606,6 +1882,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1654,6 +1942,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1700,6 +2000,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1763,6 +2075,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1827,6 +2151,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1885,6 +2221,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1961,6 +2309,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -2024,6 +2384,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -2088,6 +2460,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -2153,6 +2537,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2207,6 +2603,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2264,6 +2672,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2322,6 +2742,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2381,6 +2813,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2451,6 +2895,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2524,6 +2980,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2594,6 +3062,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2664,6 +3144,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2724,6 +3216,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2796,6 +3300,18 @@ "summary": "Acknowledge One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } ] } }, @@ -2865,6 +3381,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2923,6 +3451,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2977,6 +3517,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -3041,6 +3593,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -3119,6 +3683,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3188,6 +3764,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3233,6 +3821,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3290,6 +3890,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3335,6 +3947,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3389,6 +4013,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3443,6 +4079,18 @@ "summary": "Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } ] }, "post": { @@ -3558,6 +4206,18 @@ "summary": "Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } ] } }, @@ -3619,6 +4279,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3709,6 +4381,18 @@ "summary": "Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } ] } }, @@ -3757,6 +4441,18 @@ "summary": "Return the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } ] }, "put": { @@ -3827,6 +4523,18 @@ "summary": "Update or enable the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } ] } }, @@ -3872,6 +4580,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3930,6 +4650,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3999,6 +4731,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -4056,6 +4800,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -4132,6 +4888,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -4197,6 +4965,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -4265,6 +5045,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4338,6 +5130,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4406,6 +5210,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4474,6 +5290,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4545,6 +5373,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4608,6 +5448,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -4685,6 +5537,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -4751,6 +5615,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4823,6 +5699,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4886,6 +5774,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4952,6 +5852,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -5027,6 +5939,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -5099,6 +6023,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -5166,6 +6102,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -5225,6 +6173,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } + ], "x-sunset": "2025-08-05" }, "get": { @@ -5282,6 +6242,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" }, "patch": { @@ -5353,6 +6325,18 @@ "tags": [ "Cloud Backups" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } + ], "x-sunset": "2025-08-05" } }, @@ -5422,6 +6406,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5491,6 +6487,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5560,6 +6568,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5630,6 +6650,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5690,6 +6722,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5762,6 +6806,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5832,6 +6888,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5913,6 +6981,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5993,6 +7073,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -6070,6 +7162,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6130,6 +7234,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -6202,6 +7318,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6262,6 +7390,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6334,6 +7474,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6401,6 +7553,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6477,6 +7641,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6537,6 +7713,18 @@ "summary": "Return Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } ] }, "patch": { @@ -6617,6 +7805,18 @@ "summary": "Add Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } ] }, "put": { @@ -6697,6 +7897,18 @@ "summary": "Pin Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } ] } }, @@ -6768,6 +7980,18 @@ "summary": "Unpin namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } ] } }, @@ -6848,6 +8072,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6932,6 +8168,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7010,6 +8258,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -7083,6 +8343,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -7173,6 +8445,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7236,6 +8520,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7299,6 +8595,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7374,6 +8682,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7456,6 +8776,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" }, "post": { @@ -7534,6 +8866,18 @@ "tags": [ "Global Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -7697,6 +9041,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7767,6 +9123,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7846,6 +9214,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7943,6 +9323,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -8019,6 +9411,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -8096,6 +9500,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -8187,6 +9603,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -8254,6 +9682,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -8319,6 +9759,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -8392,6 +9844,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -8458,6 +9922,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" }, "patch": { @@ -8537,6 +10013,18 @@ "tags": [ "Clusters" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } + ], "x-sunset": "2026-03-01" } }, @@ -8591,6 +10079,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8672,6 +10172,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8742,6 +10254,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8815,6 +10339,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8878,6 +10414,18 @@ "summary": "Delete Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } ] }, "get": { @@ -8936,6 +10484,18 @@ "summary": "Return Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } ] }, "patch": { @@ -9008,6 +10568,18 @@ "summary": "Update Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } ] }, "post": { @@ -9080,6 +10652,18 @@ "summary": "Create Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } ] } }, @@ -9157,6 +10741,18 @@ "summary": "Return All Atlas Search Indexes for One Cluster", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesCluster --help" + } ] }, "post": { @@ -9233,6 +10829,18 @@ "summary": "Create One Atlas Search Index", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndex --help" + } ] } }, @@ -9328,6 +10936,18 @@ "summary": "Return All Atlas Search Indexes for One Collection", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexes --help" + } ] } }, @@ -9419,6 +11039,18 @@ "summary": "Remove One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexByName --help" + } ] }, "get": { @@ -9508,6 +11140,18 @@ "summary": "Return One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexByName --help" + } ] }, "patch": { @@ -9611,6 +11255,18 @@ "summary": "Update One Atlas Search Index By Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexByName --help" + } ] } }, @@ -9687,6 +11343,18 @@ "summary": "Remove One Atlas Search Index by Id", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndex --help" + } ] }, "get": { @@ -9771,6 +11439,18 @@ "summary": "Return One Atlas Search Index by ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndex --help" + } ] }, "patch": { @@ -9859,6 +11539,18 @@ "summary": "Update One Atlas Search Index By ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndex --help" + } ] } }, @@ -9917,6 +11609,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -9984,6 +11688,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -10065,6 +11781,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -10138,6 +11866,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -10206,6 +11946,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -10285,6 +12037,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -10342,6 +12106,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -10419,6 +12195,18 @@ "summary": "Return Ranked Namespaces from a Cluster", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } ] } }, @@ -10549,6 +12337,18 @@ "summary": "Return Cluster-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } ] } }, @@ -10626,6 +12426,18 @@ "summary": "Pin FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinFeatureCompatibilityVersion --help" + } ] } }, @@ -10695,6 +12507,18 @@ "summary": "Unpins FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinFeatureCompatibilityVersion --help" + } ] } }, @@ -10800,6 +12624,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -10848,6 +12684,18 @@ "summary": "Return all metric names", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } ] } }, @@ -10920,6 +12768,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -10986,6 +12846,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -11040,6 +12912,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -11107,6 +12991,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -11163,6 +13059,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -11242,6 +13150,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -11290,6 +13210,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -11356,6 +13288,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -11416,6 +13360,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -11471,6 +13427,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -11546,6 +13514,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -11607,6 +13587,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -11670,6 +13662,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -11724,6 +13728,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -11779,6 +13795,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -11854,6 +13882,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -11914,6 +13954,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -11980,6 +14032,18 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } ] }, "get": { @@ -12047,6 +14111,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -12128,6 +14204,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -12212,6 +14300,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -12266,6 +14366,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -12484,6 +14596,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -12554,6 +14678,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -12619,6 +14755,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -12704,6 +14852,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -12770,6 +14930,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -12850,6 +15022,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -12961,6 +15145,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -13069,6 +15265,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -13114,6 +15322,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -13177,6 +15397,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -13234,6 +15466,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -13300,6 +15544,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13380,6 +15636,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -13443,10 +15711,22 @@ { "DigestAuth": [] } - ], - "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", - "tags": [ - "Encryption at Rest using Customer Key Management" + ], + "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", + "tags": [ + "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13568,6 +15848,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -13637,6 +15929,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -13685,6 +15989,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -13779,6 +16095,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -13876,6 +16204,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -13965,6 +16305,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -14025,6 +16377,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -14098,6 +16462,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -14169,6 +16545,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -14263,6 +16651,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -14354,6 +16754,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -14413,6 +16825,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14475,6 +16899,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -14531,6 +16967,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14587,6 +17035,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -14647,6 +17107,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14718,6 +17190,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14766,6 +17250,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -14823,6 +17319,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -14898,6 +17406,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -14974,6 +17494,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -15061,6 +17593,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -15127,6 +17671,18 @@ "summary": "Migrate One Local Managed Cluster to MongoDB Atlas", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } ] } }, @@ -15193,6 +17749,18 @@ "summary": "Validate One Migration Request", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } ] } }, @@ -15257,6 +17825,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -15311,6 +17891,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -15365,6 +17957,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -15407,6 +18011,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -15450,6 +18066,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -15504,6 +18132,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -15546,6 +18186,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -15588,6 +18240,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -15633,6 +18297,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -15678,6 +18354,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -15723,6 +18411,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -15829,6 +18529,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -15900,6 +18612,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -15967,6 +18691,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -16027,6 +18763,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -16085,6 +18833,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -16160,6 +18920,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -16208,6 +18980,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -16265,6 +19049,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -16322,6 +19118,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -16380,6 +19188,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -16452,6 +19272,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -16515,6 +19347,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -16546,7 +19390,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16594,6 +19438,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -16654,6 +19510,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -16714,6 +19582,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -16745,7 +19625,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16793,6 +19673,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -16866,6 +19758,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -16937,6 +19841,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -17008,6 +19924,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -17068,6 +19996,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -17116,6 +20056,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -17173,6 +20125,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -17232,6 +20196,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -17301,6 +20277,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -17369,6 +20357,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -17435,6 +20435,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -17512,6 +20524,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -17575,6 +20599,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -17647,6 +20683,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -17720,6 +20768,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -17812,6 +20872,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -17894,6 +20966,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -17977,6 +21061,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -18027,6 +21123,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -18089,6 +21197,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -18149,6 +21269,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -18206,6 +21338,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -18266,6 +21410,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -18327,6 +21483,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -18381,6 +21549,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -18437,6 +21617,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -18491,6 +21683,18 @@ "summary": "Return Ranked Namespaces from a Host", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } ] } }, @@ -18556,6 +21760,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -18621,6 +21837,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -18725,6 +21953,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -18790,6 +22030,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -18852,6 +22104,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -18965,6 +22229,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -19185,6 +22461,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -19259,6 +22547,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -19357,6 +22657,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -19471,6 +22783,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -19576,6 +22900,18 @@ "summary": "Return Host-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } ] } }, @@ -19627,6 +22963,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -19676,6 +23024,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -19737,6 +23097,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -19798,6 +23170,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -19858,6 +23242,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -19912,6 +23308,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -19966,6 +23374,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -20026,6 +23446,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -20095,6 +23527,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -20170,6 +23614,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -20242,6 +23698,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -20311,6 +23779,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -20381,6 +23861,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -20438,6 +23930,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -20499,6 +24003,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -20562,6 +24078,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -20623,6 +24151,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -20692,6 +24232,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -20746,6 +24298,18 @@ "summary": "Return All project Service Accounts", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } ] }, "post": { @@ -20804,6 +24368,18 @@ "summary": "Create and Assign one Service Account to one project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } ] } }, @@ -20862,6 +24438,18 @@ "summary": "Unassign One Service Account from One Project.", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } ] }, "get": { @@ -20917,6 +24505,18 @@ "summary": "Service Account Fetching", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } ] }, "patch": { @@ -20986,6 +24586,18 @@ "summary": "Service Account Update in Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } ] }, "post": { @@ -21057,6 +24669,18 @@ "summary": "Assign One Service Account to One Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } ] } }, @@ -21108,6 +24732,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -21168,6 +24804,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -21219,6 +24867,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -21276,6 +24936,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -21336,6 +25008,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -21399,6 +25083,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -21471,6 +25167,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -21558,6 +25266,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -21621,6 +25341,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -21690,6 +25422,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -21759,6 +25503,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -21820,6 +25576,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -21901,6 +25669,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -21972,6 +25752,18 @@ "summary": "Create One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamProcessor --help" + } ] } }, @@ -22038,6 +25830,18 @@ "summary": "Delete One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamProcessor --help" + } ] }, "get": { @@ -22105,6 +25909,18 @@ "summary": "Get One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamProcessor --help" + } ] } }, @@ -22174,6 +25990,18 @@ "summary": "Start One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessor --help" + } ] } }, @@ -22243,6 +26071,18 @@ "summary": "Stop One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api stopStreamProcessor --help" + } ] } }, @@ -22312,6 +26152,18 @@ "summary": "Return All Stream Processors In The Stream Instance.", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamProcessors --help" + } ] } }, @@ -22375,6 +26227,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -22445,6 +26309,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -22509,6 +26385,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -22588,6 +26476,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -22633,6 +26533,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -22690,6 +26602,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -22732,6 +26656,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -22777,6 +26713,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -22836,6 +26784,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -22893,6 +26853,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -22965,6 +26937,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -23025,6 +27009,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -23099,6 +27095,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -23152,6 +27160,18 @@ "summary": "Migrate One Project to Another Organization", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api migrateProjectToAnotherOrg --help" + } ] } }, @@ -23220,6 +27240,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -23283,6 +27315,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -23337,6 +27381,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -23389,6 +27445,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -23452,6 +27520,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -23510,6 +27590,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -23568,6 +27660,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -23629,6 +27733,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -23688,6 +27804,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -23761,6 +27889,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -23831,6 +27971,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -23915,6 +28067,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -23993,6 +28157,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -24066,6 +28242,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -24122,6 +28310,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -24191,6 +28391,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -24251,7 +28463,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -24284,6 +28496,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -24353,6 +28577,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -24404,6 +28640,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -24472,6 +28720,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -24535,6 +28795,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -24595,6 +28867,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -24655,6 +28939,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -24715,6 +29011,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -24773,6 +29081,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -24845,6 +29165,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -24981,6 +29313,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -25029,6 +29373,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -25095,6 +29451,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -25154,6 +29522,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -25205,6 +29585,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -25250,6 +29642,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -25307,6 +29711,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -25361,6 +29777,18 @@ "summary": "Return All Service Accounts", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } ] }, "post": { @@ -25418,6 +29846,18 @@ "summary": "Service Account Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } ] } }, @@ -25472,6 +29912,18 @@ "summary": "Service Account Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } ] }, "get": { @@ -25527,6 +29979,18 @@ "summary": "Service Account Fetching", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } ] }, "patch": { @@ -25596,6 +30060,18 @@ "summary": "Service Account Update", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } ] } }, @@ -25659,6 +30135,18 @@ "summary": "Return All Service Account projects", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } ] } }, @@ -25727,6 +30215,18 @@ "summary": "Service Account Secret Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } ] } }, @@ -25790,6 +30290,18 @@ "summary": "Service Account Secret Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } ] } }, @@ -25841,6 +30353,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -25901,6 +30425,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -25965,6 +30501,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -26032,6 +30580,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -26096,6 +30656,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -26163,6 +30735,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -26228,6 +30812,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -26307,6 +30903,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -26383,6 +30991,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -26465,6 +31085,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -26541,6 +31173,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -26601,6 +31245,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -26664,6 +31320,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -26738,6 +31406,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -26769,6 +31449,18 @@ "summary": "Return All Control Plane IP Addresses", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIPAddresses --help" + } ] } }, @@ -26825,6 +31517,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -26880,6 +31584,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -26937,6 +31653,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml index be7e885acb..37e769e2e3 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml @@ -29865,6 +29865,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -29891,6 +29902,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -29918,6 +29940,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -29945,6 +29978,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -29970,6 +30014,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -30000,6 +30055,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -30038,6 +30104,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -30075,6 +30152,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -30119,6 +30207,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30148,6 +30248,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -30183,6 +30294,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30220,6 +30343,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -30258,6 +30392,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -30303,6 +30448,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30355,6 +30512,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help post: description: |- Creates one identity provider within the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30394,6 +30562,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: description: "Deletes one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Requests to this resource will fail if the identity provider has any connected organizations. Before deleting an identity provider, disconnect all organizations and confirm that no organization in your account uses this identity provider. To learn more, see [Manage Organization Mapping for Federated Authentication](https://www.mongodb.com/docs/atlas/security/manage-org-mapping/)." @@ -30427,6 +30607,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' operationId: getIdentityProvider @@ -30463,6 +30654,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help patch: description: |- Updates one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30507,6 +30709,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: description: "Revokes the JWKS tokens from the requested OIDC identity provider. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Revoking your JWKS tokens immediately refreshes your IdP public keys from all your Atlas clusters, invalidating previously signed access tokens and logging out all users. You may need to restart your MongoDB clients. All organizations connected to the identity provider will be affected. To learn more, see [Configure OIDC Authorization](https://www.mongodb.com/docs/atlas/security-oidc/#revoke-jwks)." @@ -30540,6 +30754,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: description: Returns the metadata of one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30568,6 +30793,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -30597,6 +30833,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -30643,6 +30890,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30670,6 +30929,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -30696,6 +30966,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -30733,6 +31014,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -30770,6 +31063,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -30801,6 +31106,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -30844,6 +31160,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -30887,6 +31215,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -30926,6 +31265,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -30965,6 +31315,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -30996,6 +31357,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -31032,6 +31404,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -31070,6 +31454,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31109,6 +31504,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -31157,6 +31563,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -31207,6 +31625,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -31250,6 +31680,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -31292,6 +31733,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -31331,6 +31783,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: description: |- 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. @@ -31378,6 +31841,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: description: |- @@ -31420,6 +31895,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -31451,6 +31937,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -31482,6 +31979,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31521,6 +32030,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -31566,6 +32086,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -31608,6 +32140,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -31633,6 +32177,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -31666,6 +32221,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -31691,6 +32258,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -31722,6 +32300,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: description: 'Returns all AWS S3 buckets and Azure Blob Storage Containers 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}' @@ -31750,6 +32340,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help post: description: 'Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' operationId: createExportBucket @@ -31824,6 +32425,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: description: Revoke MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This prevents this Export Bucket from receiving Atlas Cloud Backup Snapshots. 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 Owner role. @@ -31862,6 +32475,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: description: 'Returns one AWS S3 Bucket or Azure Blob Storage Container 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}' operationId: getExportBucket @@ -31920,6 +32544,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: description: '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}' @@ -31947,6 +32582,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help put: description: '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}' operationId: updateDataProtectionSettings @@ -31989,6 +32635,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -32014,6 +32672,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -32048,6 +32717,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -32090,6 +32771,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -32124,6 +32816,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -32171,6 +32874,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: deprecated: true @@ -32206,6 +32921,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help x-sunset: "2026-03-01" post: deprecated: true @@ -32247,6 +32973,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: @@ -32291,6 +33029,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: deprecated: true description: '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. Deprecated versions: v2-{2023-01-01}' @@ -32329,6 +33078,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help x-sunset: "2026-03-01" patch: deprecated: true @@ -32377,6 +33137,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: @@ -32466,6 +33238,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: description: Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window. @@ -32512,6 +33295,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: description: 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. @@ -32549,6 +33343,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -32594,6 +33399,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -32633,6 +33450,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -32670,6 +33498,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -32719,6 +33558,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -32764,6 +33615,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -32806,6 +33668,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: deprecated: true @@ -32842,6 +33715,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help x-sunset: "2025-08-05" get: deprecated: true @@ -32877,6 +33761,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help x-sunset: "2025-08-05" patch: deprecated: true @@ -32924,6 +33819,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help x-sunset: "2025-08-05" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: @@ -32964,6 +33871,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -33009,6 +33927,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -33054,6 +33984,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -33098,6 +34039,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -33149,6 +34101,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -33192,6 +34156,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -33236,6 +34211,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -33272,6 +34258,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -33321,6 +34318,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -33368,6 +34377,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33404,6 +34425,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33449,6 +34481,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33485,6 +34528,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33530,6 +34584,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -33568,6 +34633,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -33616,6 +34692,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: description: Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on. @@ -33653,6 +34740,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster operationId: pinNamespacesPatch @@ -33703,6 +34801,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help put: description: 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. operationId: pinNamespacesPut @@ -33753,6 +34863,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: description: Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster @@ -33797,6 +34919,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -33846,6 +34980,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -33899,6 +35045,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -33949,6 +35106,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -33996,6 +35164,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -34054,6 +35233,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -34093,6 +35284,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: @@ -34132,6 +35334,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help x-sunset: "2026-03-01" post: deprecated: true @@ -34179,6 +35392,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: @@ -34230,6 +35455,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help x-sunset: "2026-03-01" post: deprecated: true @@ -34279,6 +35515,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: @@ -34389,6 +35637,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34429,6 +35689,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -34478,6 +35749,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -34526,6 +35809,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -34575,6 +35869,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -34633,6 +35938,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -34697,6 +36014,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -34738,6 +36066,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -34778,6 +36117,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -34823,6 +36173,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: deprecated: true @@ -34863,6 +36225,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help x-sunset: "2026-03-01" patch: deprecated: true @@ -34913,6 +36286,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help x-sunset: "2026-03-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: @@ -34946,6 +36331,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -34997,6 +36394,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -35040,6 +36448,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -35089,6 +36509,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: description: Deletes the Search Nodes for the specified cluster. @@ -35127,6 +36558,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help get: description: 'Return the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: getAtlasSearchDeployment @@ -35162,6 +36604,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help patch: description: 'Updates the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: updateAtlasSearchDeployment @@ -35206,6 +36659,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help post: description: Creates Search Nodes for the specified cluster. operationId: createAtlasSearchDeployment @@ -35250,6 +36715,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: description: 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. @@ -35297,6 +36774,17 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesCluster --help post: description: 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. externalDocs: @@ -35344,6 +36832,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: description: 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. @@ -35403,6 +36903,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexes --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: description: 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. @@ -35460,6 +36971,17 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexByName --help get: description: 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. externalDocs: @@ -35516,6 +37038,17 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexByName --help patch: description: 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. externalDocs: @@ -35581,6 +37114,18 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexByName --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: description: 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. @@ -35629,6 +37174,17 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndex --help get: description: 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. externalDocs: @@ -35682,6 +37238,17 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndex --help patch: description: 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. externalDocs: @@ -35738,6 +37305,18 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: deprecated: true @@ -35776,6 +37355,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -35820,6 +37410,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -35868,6 +37470,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -35914,6 +37527,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -35957,6 +37581,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -36007,6 +37642,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -36041,6 +37688,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: description: Pins the FCV to the current MongoDB version. @@ -36088,6 +37746,18 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: description: Unpins the current fixed Feature Compatibility Version. This feature is not available for clusters on rapid release. @@ -36130,6 +37800,18 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -36199,6 +37881,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -36239,6 +37932,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -36279,6 +37983,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -36319,6 +38035,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/collStats/metrics: get: description: Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request. @@ -36347,6 +38075,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -36388,6 +38127,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -36427,6 +38177,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36468,6 +38230,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -36502,6 +38275,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -36551,6 +38335,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36579,6 +38375,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36606,6 +38413,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -36645,6 +38463,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -36680,6 +38510,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -36712,6 +38553,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -36757,6 +38609,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -36793,6 +38657,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -36830,6 +38705,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -36861,6 +38748,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -36894,6 +38792,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -36939,6 +38848,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -36974,6 +38895,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -37023,6 +38955,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -37072,6 +39015,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -37131,6 +39085,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -37186,6 +39152,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -37214,6 +39191,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -37344,6 +39332,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37399,6 +39399,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -37451,6 +39462,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -37516,6 +39538,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37552,6 +39586,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37606,6 +39651,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -37677,6 +39734,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -37745,6 +39813,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -37773,6 +39852,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -37822,6 +39912,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -37855,6 +39957,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -37894,6 +40007,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -37943,6 +40068,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -37984,6 +40120,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -38066,6 +40213,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -38111,6 +40269,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38138,6 +40307,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38195,6 +40375,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -38251,6 +40442,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38306,6 +40508,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -38338,6 +40551,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -38385,6 +40609,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -38431,6 +40666,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -38489,6 +40735,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -38545,6 +40803,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -38579,6 +40849,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -38616,6 +40897,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -38649,6 +40942,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -38684,6 +40989,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -38721,6 +41037,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -38766,6 +41093,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -38794,6 +41133,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38827,6 +41177,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -38892,6 +41253,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -38958,6 +41330,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -39034,6 +41417,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: description: |- @@ -39080,6 +41475,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: description: 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. @@ -39110,6 +41517,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -39140,6 +41558,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: description: '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}' @@ -39179,6 +41609,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: description: Return the status of one migration validation job. Your API Key must have the Organization Owner role to successfully call this resource. @@ -39219,6 +41661,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -39243,6 +41696,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -39267,6 +41731,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -39299,6 +41774,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -39323,6 +41810,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -39347,6 +41846,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -39372,6 +41883,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -39397,6 +41919,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -39422,6 +41955,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -39488,6 +42033,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39528,6 +42084,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -39568,6 +42135,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -39604,6 +42183,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -39639,6 +42229,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -39685,6 +42286,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39713,6 +42326,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -39747,6 +42371,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -39782,6 +42418,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -39817,6 +42464,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -39862,6 +42520,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -39900,6 +42570,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -39915,7 +42596,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -39946,6 +42627,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -39982,6 +42674,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -40018,6 +42722,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40033,7 +42749,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -40064,6 +42780,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -40110,6 +42837,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -40155,6 +42893,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -40198,6 +42947,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40236,6 +42997,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40281,6 +43053,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -40327,6 +43110,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -40385,6 +43179,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -40437,6 +43243,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -40490,6 +43307,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -40525,6 +43353,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40552,6 +43392,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -40585,6 +43436,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -40621,6 +43484,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -40667,6 +43541,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -40710,6 +43596,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -40752,6 +43649,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -40801,6 +43709,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -40830,6 +43750,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40867,6 +43798,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -40899,6 +43842,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -40951,6 +43905,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -40987,6 +43953,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -41024,6 +44001,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41052,6 +44040,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41085,6 +44084,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency process-level measurements for the given namespace @@ -41153,6 +44163,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: description: Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window. @@ -41181,6 +44202,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41217,6 +44249,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41256,6 +44299,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41321,6 +44375,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41357,6 +44422,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41395,6 +44471,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -41476,6 +44563,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -41668,6 +44766,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41721,6 +44830,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -41791,6 +44911,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41868,6 +44999,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -41897,6 +45039,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -41925,6 +45078,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -41961,6 +45125,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -41997,6 +45173,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -42034,6 +45222,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -42067,6 +45267,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42095,6 +45306,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -42130,6 +45352,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -42169,6 +45403,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -42215,6 +45460,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -42260,6 +45517,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -42299,6 +45567,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -42344,6 +45623,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -42378,6 +45668,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -42416,6 +45717,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -42454,6 +45767,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -42491,6 +45815,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -42533,6 +45868,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/serviceAccounts: get: description: Returns list of Service Accounts for a project with service account details. @@ -42562,6 +45909,17 @@ paths: summary: Return All project Service Accounts tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help post: description: Creates and assigns the specified Service Account to the specified Project. operationId: createProjectServiceAccount @@ -42596,6 +45954,18 @@ paths: summary: Create and Assign one Service Account to one project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}: delete: description: Removes one Service Account from the specified project. @@ -42630,6 +46000,17 @@ paths: summary: Unassign One Service Account from One Project. tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help get: description: Get project Service Account Details. operationId: getProjectServiceAccount @@ -42662,6 +46043,17 @@ paths: summary: Service Account Fetching tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help patch: description: Update Service Account in Project. operationId: updateProjectServiceAccount @@ -42703,6 +46095,18 @@ paths: summary: Service Account Update in Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help post: description: Assigns the specified organization Service Account to the specified project. operationId: addProjectServiceAccount @@ -42746,6 +46150,18 @@ paths: summary: Assign One Service Account to One Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42775,6 +46191,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -42810,6 +46237,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -42837,6 +46276,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -42870,6 +46320,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -42905,6 +46367,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -42943,6 +46416,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -42986,6 +46470,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -43042,6 +46538,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -43077,6 +46584,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -43118,6 +46636,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43159,6 +46689,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -43196,6 +46737,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -43245,6 +46797,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: description: Create one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43287,6 +46851,18 @@ paths: summary: Create One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: description: Delete a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43326,6 +46902,17 @@ paths: summary: Delete One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamProcessor --help get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getStreamProcessor @@ -43366,6 +46953,17 @@ paths: summary: Get One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43407,6 +47005,18 @@ paths: summary: Start One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: description: Stop a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43448,6 +47058,18 @@ paths: summary: Stop One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api stopStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: description: Returns all Stream Processors within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43486,6 +47108,17 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamProcessors --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -43520,6 +47153,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -43562,6 +47206,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -43602,6 +47258,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -43651,6 +47318,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43676,6 +47355,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43712,6 +47402,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -43739,6 +47441,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43764,6 +47477,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43798,6 +47522,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43832,6 +47568,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -43872,6 +47619,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -43908,6 +47666,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -43953,6 +47722,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/{groupId}:migrate: post: description: Migrates a project from its current organization to another organization. All project users and their roles will be copied to the same project in the destination organization. You must include an organization API key with the Organization Owner role for the destination organization to verify access to the destination organization when you authenticate with Programmatic API Keys. Otherwise, the requesting user must have the Organization Owner role in both organizations. To use this resource, the requesting API Key must have the Organization Owner role. @@ -43984,6 +47765,18 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api migrateProjectToAnotherOrg --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44022,6 +47815,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -44060,6 +47864,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -44098,6 +47913,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -44135,6 +47962,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -44165,6 +48003,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -44202,6 +48051,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -44233,6 +48094,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44267,6 +48139,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44304,6 +48188,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -44340,6 +48235,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44385,6 +48291,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -44425,6 +48343,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -44474,6 +48403,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -44523,6 +48464,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -44569,6 +48521,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -44602,6 +48565,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -44645,6 +48620,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -44685,7 +48671,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -44705,6 +48691,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -44750,6 +48747,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -44779,6 +48787,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -44824,6 +48843,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44861,6 +48891,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -44896,6 +48937,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -44931,6 +48984,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44966,6 +49031,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -45002,6 +49078,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -45046,6 +49133,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -45135,6 +49234,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -45177,6 +49287,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -45220,6 +49341,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -45247,6 +49379,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -45276,6 +49419,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -45302,6 +49456,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -45335,6 +49500,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: description: Returns list of Service Accounts with service account details. @@ -45364,6 +49541,17 @@ paths: summary: Return All Service Accounts tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help post: description: Create Service Account containing client id and client secrets. operationId: createServiceAccount @@ -45397,6 +49585,18 @@ paths: summary: Service Account Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}: delete: description: Delete Service Account. @@ -45428,6 +49628,17 @@ paths: summary: Service Account Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help get: description: Get Service Account Details. operationId: getServiceAccount @@ -45460,6 +49671,17 @@ paths: summary: Service Account Fetching tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help patch: description: Update Service Account. operationId: updateServiceAccount @@ -45501,6 +49723,18 @@ paths: summary: Service Account Update tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups: get: description: Returns list of Service Account projects. @@ -45536,6 +49770,17 @@ paths: summary: Return All Service Account projects tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets: post: description: Create Service Account secret. @@ -45576,6 +49821,18 @@ paths: summary: Service Account Secret Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}: delete: description: Delete Service Account Secret. @@ -45613,6 +49870,17 @@ paths: summary: Service Account Secret Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45642,6 +49910,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -45677,6 +49956,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -45712,6 +50003,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -45752,6 +50054,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45793,6 +50107,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -45833,6 +50158,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -45882,6 +50218,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -45927,6 +50275,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -45978,6 +50337,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46026,6 +50397,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -46064,6 +50446,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -46096,6 +50489,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -46135,6 +50539,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -46180,6 +50595,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/unauth/controlPlaneIPAddresses: get: description: Returns all control plane IP addresses. Currently, inbound Atlas control plane IP addresses are not yet available. The inbound IP address list in your API response is empty. To manually retrieve a list of inbound Atlas control plane IP addresses, see [Required Inbound Access](https://www.mongodb.com/docs/atlas/setup-cluster-security/#std-label-atlas-required-inbound-access). @@ -46199,6 +50626,17 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIPAddresses --help /api/atlas/v2/users: post: description: |- @@ -46237,6 +50675,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -46272,6 +50722,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -46305,6 +50766,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-05-30+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json index b8c99e3087..fdb3d2188e 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json @@ -246,6 +246,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +303,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +366,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +429,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +483,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +549,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +622,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +693,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +775,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +838,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +910,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +983,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1057,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1142,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1240,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] }, "post": { @@ -1132,6 +1312,18 @@ "summary": "Create One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } ] } }, @@ -1187,6 +1379,18 @@ "summary": "Delete One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } ] }, "get": { @@ -1246,6 +1450,18 @@ "summary": "Return One Identity Provider by ID", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } ] }, "patch": { @@ -1313,6 +1529,18 @@ "summary": "Update One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } ] } }, @@ -1368,6 +1596,18 @@ "summary": "Revoke the JWKS from One OIDC Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } ] } }, @@ -1416,6 +1656,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1470,6 +1722,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1544,6 +1808,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1606,6 +1882,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1654,6 +1942,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1700,6 +2000,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1763,6 +2075,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1827,6 +2151,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1885,6 +2221,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1961,6 +2309,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -2024,6 +2384,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -2088,6 +2460,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -2153,6 +2537,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2207,6 +2603,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2264,6 +2672,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2322,6 +2742,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2381,6 +2813,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2451,6 +2895,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2524,6 +2980,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2594,6 +3062,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2664,6 +3144,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2724,6 +3216,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2796,6 +3300,18 @@ "summary": "Acknowledge One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } ] } }, @@ -2865,6 +3381,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2923,6 +3451,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2977,6 +3517,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -3041,6 +3593,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -3119,6 +3683,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3188,6 +3764,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3233,6 +3821,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3290,6 +3890,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3335,6 +3947,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3389,6 +4013,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3443,6 +4079,18 @@ "summary": "Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } ] }, "post": { @@ -3558,6 +4206,18 @@ "summary": "Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } ] } }, @@ -3619,6 +4279,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3709,6 +4381,18 @@ "summary": "Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } ] } }, @@ -3757,6 +4441,18 @@ "summary": "Return the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } ] }, "put": { @@ -3827,6 +4523,18 @@ "summary": "Update or enable the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } ] } }, @@ -3872,6 +4580,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3930,6 +4650,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3999,6 +4731,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -4056,6 +4800,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -4132,6 +4888,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -4195,6 +4963,18 @@ "summary": "Return All Clusters in One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } ] }, "post": { @@ -4268,6 +5048,18 @@ "summary": "Create One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } ] } }, @@ -4341,6 +5133,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4409,6 +5213,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4477,6 +5293,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4548,6 +5376,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4609,6 +5449,18 @@ "summary": "Return One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } ] }, "patch": { @@ -4685,6 +5537,18 @@ "summary": "Modify One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } ] } }, @@ -4751,6 +5615,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4823,6 +5699,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4886,6 +5774,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4952,6 +5852,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -5027,6 +5939,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -5099,6 +6023,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -5166,6 +6102,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -5223,6 +6171,18 @@ "summary": "Remove All Cloud Backup Schedules", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } ] }, "get": { @@ -5278,6 +6238,18 @@ "summary": "Return One Cloud Backup Schedule", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } ] }, "patch": { @@ -5347,6 +6319,18 @@ "summary": "Update Cloud Backup Schedule for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } ] } }, @@ -5416,6 +6400,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5485,6 +6481,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5554,6 +6562,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5624,6 +6644,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5684,6 +6716,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5756,6 +6800,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5826,6 +6882,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5907,6 +6975,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5987,6 +7067,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -6064,6 +7156,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6124,6 +7228,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -6196,6 +7312,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6256,6 +7384,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6328,6 +7468,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6395,6 +7547,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6471,6 +7635,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6531,6 +7707,18 @@ "summary": "Return Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } ] }, "patch": { @@ -6611,6 +7799,18 @@ "summary": "Add Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } ] }, "put": { @@ -6691,6 +7891,18 @@ "summary": "Pin Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } ] } }, @@ -6762,6 +7974,18 @@ "summary": "Unpin namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } ] } }, @@ -6842,6 +8066,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6926,6 +8162,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7004,6 +8252,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -7077,6 +8337,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -7167,6 +8439,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7228,6 +8512,18 @@ "summary": "Return One Managed Namespace in One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } ] } }, @@ -7289,6 +8585,18 @@ "summary": "Remove All Custom Zone Mappings from One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } ] }, "post": { @@ -7363,6 +8671,18 @@ "summary": "Add One Entry to One Custom Zone Mapping", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } ] } }, @@ -7443,6 +8763,18 @@ "summary": "Remove One Managed Namespace from One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } ] }, "post": { @@ -7520,6 +8852,18 @@ "summary": "Create One Managed Namespace in One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } ] } }, @@ -7683,6 +9027,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7753,6 +9109,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7832,6 +9200,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7929,6 +9309,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -8005,6 +9397,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -8082,6 +9486,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -8173,6 +9589,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -8240,6 +9668,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -8305,6 +9745,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -8378,6 +9830,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -8442,6 +9906,18 @@ "summary": "Return One Advanced Configuration Options for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } ] }, "patch": { @@ -8519,6 +9995,18 @@ "summary": "Update Advanced Configuration Options for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } ] } }, @@ -8573,6 +10061,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8654,6 +10154,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8724,6 +10236,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8797,6 +10321,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8860,6 +10396,18 @@ "summary": "Delete Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } ] }, "get": { @@ -8918,6 +10466,18 @@ "summary": "Return Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } ] }, "patch": { @@ -8990,6 +10550,18 @@ "summary": "Update Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } ] }, "post": { @@ -9062,6 +10634,18 @@ "summary": "Create Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } ] } }, @@ -9139,6 +10723,18 @@ "summary": "Return All Atlas Search Indexes for One Cluster", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesCluster --help" + } ] }, "post": { @@ -9215,6 +10811,18 @@ "summary": "Create One Atlas Search Index", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndex --help" + } ] } }, @@ -9310,6 +10918,18 @@ "summary": "Return All Atlas Search Indexes for One Collection", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexes --help" + } ] } }, @@ -9401,6 +11021,18 @@ "summary": "Remove One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexByName --help" + } ] }, "get": { @@ -9490,6 +11122,18 @@ "summary": "Return One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexByName --help" + } ] }, "patch": { @@ -9593,6 +11237,18 @@ "summary": "Update One Atlas Search Index By Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexByName --help" + } ] } }, @@ -9669,6 +11325,18 @@ "summary": "Remove One Atlas Search Index by Id", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndex --help" + } ] }, "get": { @@ -9753,6 +11421,18 @@ "summary": "Return One Atlas Search Index by ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndex --help" + } ] }, "patch": { @@ -9841,6 +11521,18 @@ "summary": "Update One Atlas Search Index By ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndex --help" + } ] } }, @@ -9899,6 +11591,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -9966,6 +11670,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -10047,6 +11763,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -10120,6 +11848,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -10188,6 +11928,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -10267,6 +12019,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -10324,6 +12088,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -10401,6 +12177,18 @@ "summary": "Return Ranked Namespaces from a Cluster", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } ] } }, @@ -10531,6 +12319,18 @@ "summary": "Return Cluster-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } ] } }, @@ -10608,6 +12408,18 @@ "summary": "Pin FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinFeatureCompatibilityVersion --help" + } ] } }, @@ -10677,6 +12489,18 @@ "summary": "Unpins FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinFeatureCompatibilityVersion --help" + } ] } }, @@ -10782,6 +12606,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -10830,6 +12666,18 @@ "summary": "Return all metric names", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } ] } }, @@ -10902,6 +12750,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -10968,6 +12828,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -11022,6 +12894,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -11089,6 +12973,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -11145,6 +13041,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -11224,6 +13132,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -11272,6 +13192,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -11338,6 +13270,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -11398,6 +13342,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -11453,6 +13409,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -11528,6 +13496,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -11589,6 +13569,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -11652,6 +13644,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -11706,6 +13710,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -11761,6 +13777,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -11836,6 +13864,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -11896,6 +13936,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -11962,6 +14014,18 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } ] }, "get": { @@ -12029,6 +14093,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -12110,6 +14186,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -12194,6 +14282,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -12248,6 +14348,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -12466,6 +14578,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -12536,6 +14660,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -12601,6 +14737,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -12686,6 +14834,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -12752,6 +14912,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -12832,6 +15004,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -12943,6 +15127,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -13051,6 +15247,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -13096,6 +15304,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -13159,6 +15379,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -13216,6 +15448,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -13282,6 +15526,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13362,6 +15618,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -13425,10 +15693,22 @@ { "DigestAuth": [] } - ], - "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", - "tags": [ - "Encryption at Rest using Customer Key Management" + ], + "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", + "tags": [ + "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13550,6 +15830,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -13619,6 +15911,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -13667,6 +15971,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -13761,6 +16077,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -13858,6 +16186,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -13947,6 +16287,18 @@ "summary": "Return Atlas Search Hardware and Status Metrics", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -14007,6 +16359,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -14080,6 +16444,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -14151,6 +16527,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -14245,6 +16633,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -14336,6 +16736,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -14395,6 +16807,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14457,6 +16881,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -14513,6 +16949,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14569,6 +17017,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -14629,6 +17089,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14700,6 +17172,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14748,6 +17232,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -14805,6 +17301,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -14880,6 +17388,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -14956,6 +17476,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -15043,6 +17575,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -15109,6 +17653,18 @@ "summary": "Migrate One Local Managed Cluster to MongoDB Atlas", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } ] } }, @@ -15175,6 +17731,18 @@ "summary": "Validate One Migration Request", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } ] } }, @@ -15239,6 +17807,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -15293,6 +17873,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -15347,6 +17939,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -15389,6 +17993,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -15432,6 +18048,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -15486,6 +18114,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -15528,6 +18168,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -15570,6 +18222,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -15615,6 +18279,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -15660,6 +18336,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -15705,6 +18393,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -15811,6 +18511,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -15882,6 +18594,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -15949,6 +18673,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -16009,6 +18745,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -16067,6 +18815,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -16142,6 +18902,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -16190,6 +18962,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -16247,6 +19031,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -16304,6 +19100,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -16362,6 +19170,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -16434,6 +19254,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -16497,6 +19329,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -16528,7 +19372,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16576,6 +19420,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -16636,6 +19492,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -16696,6 +19564,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -16727,7 +19607,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16775,6 +19655,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -16848,6 +19740,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -16919,6 +19823,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -16990,6 +19906,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -17050,6 +19978,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -17098,6 +20038,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -17155,6 +20107,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -17214,6 +20178,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -17283,6 +20259,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -17351,6 +20339,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -17417,6 +20417,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -17494,6 +20506,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -17557,6 +20581,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -17629,6 +20665,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -17702,6 +20750,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -17794,6 +20854,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -17876,6 +20948,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -17959,6 +21043,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -18009,6 +21105,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -18071,6 +21179,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -18131,6 +21251,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -18188,6 +21320,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -18248,6 +21392,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -18309,6 +21465,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -18363,6 +21531,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -18419,6 +21599,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -18473,6 +21665,18 @@ "summary": "Return Ranked Namespaces from a Host", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } ] } }, @@ -18538,6 +21742,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -18603,6 +21819,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -18707,6 +21935,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -18772,6 +22012,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -18834,6 +22086,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -18947,6 +22211,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -19167,6 +22443,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -19241,6 +22529,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -19339,6 +22639,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -19453,6 +22765,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -19558,6 +22882,18 @@ "summary": "Return Host-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } ] } }, @@ -19609,6 +22945,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -19658,6 +23006,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -19719,6 +23079,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -19780,6 +23152,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -19840,6 +23224,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -19894,6 +23290,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -19948,6 +23356,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -20008,6 +23428,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -20077,6 +23509,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -20152,6 +23596,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -20224,6 +23680,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -20293,6 +23761,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -20363,6 +23843,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -20420,6 +23912,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -20481,6 +23985,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -20544,6 +24060,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -20605,6 +24133,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -20674,6 +24214,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -20728,6 +24280,18 @@ "summary": "Return All project Service Accounts", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } ] }, "post": { @@ -20786,6 +24350,18 @@ "summary": "Create and Assign one Service Account to one project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } ] } }, @@ -20844,6 +24420,18 @@ "summary": "Unassign One Service Account from One Project.", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } ] }, "get": { @@ -20899,6 +24487,18 @@ "summary": "Service Account Fetching", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } ] }, "patch": { @@ -20968,6 +24568,18 @@ "summary": "Service Account Update in Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } ] }, "post": { @@ -21039,6 +24651,18 @@ "summary": "Assign One Service Account to One Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } ] } }, @@ -21090,6 +24714,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -21150,6 +24786,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -21201,6 +24849,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -21258,6 +24918,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -21318,6 +24990,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -21381,6 +25065,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -21453,6 +25149,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -21540,6 +25248,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -21603,6 +25323,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -21672,6 +25404,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -21741,6 +25485,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -21802,6 +25558,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -21883,6 +25651,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -21954,6 +25734,18 @@ "summary": "Create One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamProcessor --help" + } ] } }, @@ -22020,6 +25812,18 @@ "summary": "Delete One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamProcessor --help" + } ] }, "get": { @@ -22087,6 +25891,18 @@ "summary": "Get One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamProcessor --help" + } ] } }, @@ -22156,6 +25972,18 @@ "summary": "Start One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessor --help" + } ] } }, @@ -22225,6 +26053,18 @@ "summary": "Stop One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api stopStreamProcessor --help" + } ] } }, @@ -22294,6 +26134,18 @@ "summary": "Return All Stream Processors In The Stream Instance.", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamProcessors --help" + } ] } }, @@ -22357,6 +26209,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -22427,6 +26291,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -22491,6 +26367,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -22570,6 +26458,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -22615,6 +26515,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -22672,6 +26584,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -22714,6 +26638,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -22759,6 +26695,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -22818,6 +26766,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -22875,6 +26835,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -22947,6 +26919,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -23007,6 +26991,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -23081,6 +27077,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -23134,6 +27142,18 @@ "summary": "Migrate One Project to Another Organization", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api migrateProjectToAnotherOrg --help" + } ] } }, @@ -23202,6 +27222,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -23265,6 +27297,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -23319,6 +27363,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -23371,6 +27427,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -23434,6 +27502,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -23492,6 +27572,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -23550,6 +27642,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -23611,6 +27715,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -23670,6 +27786,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -23743,6 +27871,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -23813,6 +27953,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -23897,6 +28049,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -23975,6 +28139,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -24048,6 +28224,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -24104,6 +28292,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -24173,6 +28373,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -24233,7 +28445,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -24266,6 +28478,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -24335,6 +28559,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -24386,6 +28622,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -24454,6 +28702,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -24517,6 +28777,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -24577,6 +28849,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -24637,6 +28921,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -24697,6 +28993,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -24755,6 +29063,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -24827,6 +29147,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -24963,6 +29295,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -25011,6 +29355,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -25077,6 +29433,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -25136,6 +29504,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -25187,6 +29567,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -25232,6 +29624,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -25289,6 +29693,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -25343,6 +29759,18 @@ "summary": "Return All Service Accounts", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } ] }, "post": { @@ -25400,6 +29828,18 @@ "summary": "Service Account Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } ] } }, @@ -25454,6 +29894,18 @@ "summary": "Service Account Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } ] }, "get": { @@ -25509,6 +29961,18 @@ "summary": "Service Account Fetching", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } ] }, "patch": { @@ -25578,6 +30042,18 @@ "summary": "Service Account Update", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } ] } }, @@ -25641,6 +30117,18 @@ "summary": "Return All Service Account projects", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } ] } }, @@ -25709,6 +30197,18 @@ "summary": "Service Account Secret Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } ] } }, @@ -25772,6 +30272,18 @@ "summary": "Service Account Secret Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } ] } }, @@ -25823,6 +30335,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -25883,6 +30407,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -25947,6 +30483,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -26014,6 +30562,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -26078,6 +30638,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -26145,6 +30717,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -26210,6 +30794,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -26289,6 +30885,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -26365,6 +30973,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -26447,6 +31067,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -26523,6 +31155,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -26583,6 +31227,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -26646,6 +31302,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -26720,6 +31388,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -26751,6 +31431,18 @@ "summary": "Return All Control Plane IP Addresses", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIPAddresses --help" + } ] } }, @@ -26807,6 +31499,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -26862,6 +31566,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -26919,6 +31635,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml index 869afde12a..fea59b727b 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml @@ -30143,6 +30143,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -30169,6 +30180,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -30196,6 +30218,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -30223,6 +30256,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -30248,6 +30292,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -30278,6 +30333,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -30316,6 +30382,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -30353,6 +30430,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -30397,6 +30485,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30426,6 +30526,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -30461,6 +30572,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30498,6 +30621,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -30536,6 +30670,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -30581,6 +30726,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30633,6 +30790,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help post: description: |- Creates one identity provider within the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30672,6 +30840,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: description: "Deletes one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Requests to this resource will fail if the identity provider has any connected organizations. Before deleting an identity provider, disconnect all organizations and confirm that no organization in your account uses this identity provider. To learn more, see [Manage Organization Mapping for Federated Authentication](https://www.mongodb.com/docs/atlas/security/manage-org-mapping/)." @@ -30705,6 +30885,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' operationId: getIdentityProvider @@ -30741,6 +30932,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help patch: description: |- Updates one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30785,6 +30987,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: description: "Revokes the JWKS tokens from the requested OIDC identity provider. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Revoking your JWKS tokens immediately refreshes your IdP public keys from all your Atlas clusters, invalidating previously signed access tokens and logging out all users. You may need to restart your MongoDB clients. All organizations connected to the identity provider will be affected. To learn more, see [Configure OIDC Authorization](https://www.mongodb.com/docs/atlas/security-oidc/#revoke-jwks)." @@ -30818,6 +31032,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: description: Returns the metadata of one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -30846,6 +31071,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -30875,6 +31111,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -30921,6 +31168,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -30948,6 +31207,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -30974,6 +31244,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -31011,6 +31292,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -31048,6 +31341,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -31079,6 +31384,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -31122,6 +31438,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -31165,6 +31493,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -31204,6 +31543,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -31243,6 +31593,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -31274,6 +31635,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -31310,6 +31682,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -31348,6 +31732,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31387,6 +31782,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -31435,6 +31841,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -31485,6 +31903,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -31528,6 +31958,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -31570,6 +32011,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -31609,6 +32061,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: description: |- 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. @@ -31656,6 +32119,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: description: |- @@ -31698,6 +32173,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -31729,6 +32215,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -31760,6 +32257,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31799,6 +32308,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -31844,6 +32364,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -31886,6 +32418,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -31911,6 +32455,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -31944,6 +32499,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -31969,6 +32536,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -32000,6 +32578,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: description: 'Returns all AWS S3 buckets and Azure Blob Storage Containers 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}' @@ -32028,6 +32618,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help post: description: 'Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' operationId: createExportBucket @@ -32102,6 +32703,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: description: Revoke MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This prevents this Export Bucket from receiving Atlas Cloud Backup Snapshots. 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 Owner role. @@ -32140,6 +32753,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: description: 'Returns one AWS S3 Bucket or Azure Blob Storage Container 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}' operationId: getExportBucket @@ -32198,6 +32822,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: description: '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}' @@ -32225,6 +32860,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help put: description: '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}' operationId: updateDataProtectionSettings @@ -32267,6 +32913,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -32292,6 +32950,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -32326,6 +32995,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -32368,6 +33049,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -32402,6 +33094,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -32449,6 +33152,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -32483,6 +33198,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help post: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' operationId: createCluster @@ -32650,6 +33376,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: description: '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. Deprecated versions: v2-{2023-01-01}' @@ -32693,6 +33431,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' operationId: getCluster @@ -32730,6 +33479,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help patch: description: '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-{2023-02-01}, v2-{2023-01-01}' operationId: updateCluster @@ -32777,6 +33537,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency cluster-level measurements for the given namespace. @@ -32865,6 +33637,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: description: Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window. @@ -32911,6 +33694,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: description: 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. @@ -32948,6 +33742,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -32993,6 +33798,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -33032,6 +33849,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -33069,6 +33897,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -33118,6 +33957,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -33163,6 +34014,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -33205,6 +34067,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: description: '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}' @@ -33240,6 +34113,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help get: description: '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}' operationId: getBackupSchedule @@ -33273,6 +34157,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help patch: description: '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}' operationId: updateBackupSchedule @@ -33318,6 +34213,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: description: 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. @@ -33357,6 +34264,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -33402,6 +34320,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -33447,6 +34377,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -33491,6 +34432,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -33542,6 +34494,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -33585,6 +34549,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -33629,6 +34604,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -33665,6 +34651,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -33714,6 +34711,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -33761,6 +34770,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33797,6 +34818,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33842,6 +34874,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33878,6 +34921,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -33923,6 +34977,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -33961,6 +35026,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -34009,6 +35085,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: description: Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on. @@ -34046,6 +35133,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster operationId: pinNamespacesPatch @@ -34096,6 +35194,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help put: description: 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. operationId: pinNamespacesPut @@ -34146,6 +35256,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: description: Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster @@ -34190,6 +35312,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -34239,6 +35373,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -34292,6 +35438,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -34342,6 +35499,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -34389,6 +35557,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -34447,6 +35626,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -34485,6 +35676,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: description: 'Removes all custom zone mappings for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. Removing the custom zone mappings restores the default mapping. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -34522,6 +35724,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' externalDocs: @@ -34568,6 +35781,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: description: 'Removes one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. Deleting a managed namespace does not remove the associated collection or data. To use this resource, the requesting API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -34617,6 +35842,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' externalDocs: @@ -34665,6 +35901,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: description: Creates an index on the cluster identified by its name in a rolling manner. Creating the index in this way allows index builds on one replica set member as a standalone at a time, starting with the secondary members. Creating indexes in this way requires at least one replica set election. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -34774,6 +36022,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34814,6 +36074,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -34863,6 +36134,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -34911,6 +36194,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -34960,6 +36254,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -35018,6 +36323,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -35082,6 +36399,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -35123,6 +36451,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -35163,6 +36502,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -35208,6 +36558,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: description: '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, or serverless clusters. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -35247,6 +36609,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help patch: description: '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, or serverless clusters. Deprecated versions: v2-{2023-01-01}' externalDocs: @@ -35295,6 +36668,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: description: '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}' @@ -35327,6 +36712,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -35378,6 +36775,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -35421,6 +36829,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -35470,6 +36890,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: description: Deletes the Search Nodes for the specified cluster. @@ -35508,6 +36939,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help get: description: 'Return the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: getAtlasSearchDeployment @@ -35543,6 +36985,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help patch: description: 'Updates the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: updateAtlasSearchDeployment @@ -35587,6 +37040,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help post: description: Creates Search Nodes for the specified cluster. operationId: createAtlasSearchDeployment @@ -35631,6 +37096,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: description: 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. @@ -35678,6 +37155,17 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesCluster --help post: description: 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. externalDocs: @@ -35725,6 +37213,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: description: 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. @@ -35784,6 +37284,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexes --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: description: 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. @@ -35841,6 +37352,17 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexByName --help get: description: 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. externalDocs: @@ -35897,6 +37419,17 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexByName --help patch: description: 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. externalDocs: @@ -35962,6 +37495,18 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexByName --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: description: 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. @@ -36010,6 +37555,17 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndex --help get: description: 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. externalDocs: @@ -36063,6 +37619,17 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndex --help patch: description: 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. externalDocs: @@ -36119,6 +37686,18 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: deprecated: true @@ -36157,6 +37736,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -36201,6 +37791,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -36249,6 +37851,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -36295,6 +37908,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -36338,6 +37962,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -36388,6 +38023,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -36422,6 +38069,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: description: Pins the FCV to the current MongoDB version. @@ -36469,6 +38127,18 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: description: Unpins the current fixed Feature Compatibility Version. This feature is not available for clusters on rapid release. @@ -36511,6 +38181,18 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -36580,6 +38262,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -36620,6 +38313,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -36660,6 +38364,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -36700,6 +38416,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/collStats/metrics: get: description: Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request. @@ -36728,6 +38456,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -36769,6 +38508,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -36808,6 +38558,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -36849,6 +38611,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -36883,6 +38656,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -36932,6 +38716,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36960,6 +38756,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -36987,6 +38794,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -37026,6 +38844,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -37061,6 +38891,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -37093,6 +38934,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -37138,6 +38990,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -37174,6 +39038,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -37211,6 +39086,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -37242,6 +39129,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -37275,6 +39173,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -37320,6 +39229,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -37355,6 +39276,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -37404,6 +39336,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -37453,6 +39396,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -37512,6 +39466,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -37567,6 +39533,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -37595,6 +39572,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -37725,6 +39713,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37780,6 +39780,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -37832,6 +39843,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -37897,6 +39919,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37933,6 +39967,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37987,6 +40032,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -38058,6 +40115,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -38126,6 +40194,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -38154,6 +40233,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -38203,6 +40293,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -38236,6 +40338,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -38275,6 +40388,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -38324,6 +40449,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -38365,6 +40501,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -38447,6 +40594,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -38492,6 +40650,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38519,6 +40688,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38576,6 +40756,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -38632,6 +40823,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38687,6 +40889,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -38719,6 +40932,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -38766,6 +40990,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -38812,6 +41047,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -38870,6 +41116,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -38926,6 +41184,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -38960,6 +41230,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -38997,6 +41278,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -39030,6 +41323,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -39065,6 +41370,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -39102,6 +41418,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -39147,6 +41474,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -39175,6 +41514,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39208,6 +41558,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -39273,6 +41634,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -39339,6 +41711,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -39415,6 +41798,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: description: |- @@ -39461,6 +41856,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: description: 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. @@ -39491,6 +41898,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -39521,6 +41939,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: description: '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}' @@ -39560,6 +41990,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: description: Return the status of one migration validation job. Your API Key must have the Organization Owner role to successfully call this resource. @@ -39600,6 +42042,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -39624,6 +42077,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -39648,6 +42112,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -39680,6 +42155,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -39704,6 +42191,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -39728,6 +42227,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -39753,6 +42264,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -39778,6 +42300,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -39803,6 +42336,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -39869,6 +42414,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39909,6 +42465,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -39949,6 +42516,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -39985,6 +42564,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -40020,6 +42610,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -40066,6 +42667,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40094,6 +42707,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -40128,6 +42752,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -40163,6 +42799,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -40198,6 +42845,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -40243,6 +42901,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -40281,6 +42951,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -40296,7 +42977,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -40327,6 +43008,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -40363,6 +43055,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -40399,6 +43103,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40414,7 +43130,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -40445,6 +43161,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -40491,6 +43218,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -40536,6 +43274,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -40579,6 +43328,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40617,6 +43378,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40662,6 +43434,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -40708,6 +43491,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -40766,6 +43560,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -40818,6 +43624,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -40871,6 +43688,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -40906,6 +43734,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40933,6 +43773,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -40966,6 +43817,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -41002,6 +43865,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -41048,6 +43922,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -41091,6 +43977,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -41133,6 +44030,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -41182,6 +44090,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -41211,6 +44131,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41248,6 +44179,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -41280,6 +44223,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -41332,6 +44286,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -41368,6 +44334,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -41405,6 +44382,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41433,6 +44421,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41466,6 +44465,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency process-level measurements for the given namespace @@ -41534,6 +44544,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: description: Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window. @@ -41562,6 +44583,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41598,6 +44630,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41637,6 +44680,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41702,6 +44756,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41738,6 +44803,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41776,6 +44852,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -41857,6 +44944,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -42049,6 +45147,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42102,6 +45211,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -42172,6 +45292,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42249,6 +45380,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -42278,6 +45420,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -42306,6 +45459,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -42342,6 +45506,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -42378,6 +45554,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -42415,6 +45603,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -42448,6 +45648,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42476,6 +45687,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -42511,6 +45733,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -42550,6 +45784,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -42596,6 +45841,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -42641,6 +45898,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -42680,6 +45948,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -42725,6 +46004,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -42759,6 +46049,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -42797,6 +46098,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -42835,6 +46148,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -42872,6 +46196,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -42914,6 +46249,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/serviceAccounts: get: description: Returns list of Service Accounts for a project with service account details. @@ -42943,6 +46290,17 @@ paths: summary: Return All project Service Accounts tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help post: description: Creates and assigns the specified Service Account to the specified Project. operationId: createProjectServiceAccount @@ -42977,6 +46335,18 @@ paths: summary: Create and Assign one Service Account to one project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}: delete: description: Removes one Service Account from the specified project. @@ -43011,6 +46381,17 @@ paths: summary: Unassign One Service Account from One Project. tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help get: description: Get project Service Account Details. operationId: getProjectServiceAccount @@ -43043,6 +46424,17 @@ paths: summary: Service Account Fetching tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help patch: description: Update Service Account in Project. operationId: updateProjectServiceAccount @@ -43084,6 +46476,18 @@ paths: summary: Service Account Update in Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help post: description: Assigns the specified organization Service Account to the specified project. operationId: addProjectServiceAccount @@ -43127,6 +46531,18 @@ paths: summary: Assign One Service Account to One Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -43156,6 +46572,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -43191,6 +46618,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -43218,6 +46657,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -43251,6 +46701,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -43286,6 +46748,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -43324,6 +46797,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -43367,6 +46851,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -43423,6 +46919,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -43458,6 +46965,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -43499,6 +47017,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43540,6 +47070,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -43577,6 +47118,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -43626,6 +47178,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: description: Create one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43668,6 +47232,18 @@ paths: summary: Create One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: description: Delete a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43707,6 +47283,17 @@ paths: summary: Delete One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamProcessor --help get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getStreamProcessor @@ -43747,6 +47334,17 @@ paths: summary: Get One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43788,6 +47386,18 @@ paths: summary: Start One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: description: Stop a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43829,6 +47439,18 @@ paths: summary: Stop One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api stopStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: description: Returns all Stream Processors within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43867,6 +47489,17 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamProcessors --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -43901,6 +47534,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -43943,6 +47587,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -43983,6 +47639,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -44032,6 +47699,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44057,6 +47736,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44093,6 +47783,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -44120,6 +47822,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44145,6 +47858,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44179,6 +47903,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44213,6 +47949,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44253,6 +48000,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44289,6 +48047,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -44334,6 +48103,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/{groupId}:migrate: post: description: Migrates a project from its current organization to another organization. All project users and their roles will be copied to the same project in the destination organization. You must include an organization API key with the Organization Owner role for the destination organization to verify access to the destination organization when you authenticate with Programmatic API Keys. Otherwise, the requesting user must have the Organization Owner role in both organizations. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44365,6 +48146,18 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api migrateProjectToAnotherOrg --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44403,6 +48196,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -44441,6 +48245,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -44479,6 +48294,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -44516,6 +48343,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -44546,6 +48384,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -44583,6 +48432,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -44614,6 +48475,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44648,6 +48520,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44685,6 +48569,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -44721,6 +48616,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -44766,6 +48672,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -44806,6 +48724,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -44855,6 +48784,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -44904,6 +48845,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -44950,6 +48902,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -44983,6 +48946,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -45026,6 +49001,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -45066,7 +49052,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -45086,6 +49072,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -45131,6 +49128,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -45160,6 +49168,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -45205,6 +49224,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45242,6 +49272,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -45277,6 +49318,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -45312,6 +49365,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45347,6 +49412,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -45383,6 +49459,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -45427,6 +49514,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -45516,6 +49615,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -45558,6 +49668,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -45601,6 +49722,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -45628,6 +49760,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -45657,6 +49800,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -45683,6 +49837,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -45716,6 +49881,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: description: Returns list of Service Accounts with service account details. @@ -45745,6 +49922,17 @@ paths: summary: Return All Service Accounts tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help post: description: Create Service Account containing client id and client secrets. operationId: createServiceAccount @@ -45778,6 +49966,18 @@ paths: summary: Service Account Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}: delete: description: Delete Service Account. @@ -45809,6 +50009,17 @@ paths: summary: Service Account Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help get: description: Get Service Account Details. operationId: getServiceAccount @@ -45841,6 +50052,17 @@ paths: summary: Service Account Fetching tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help patch: description: Update Service Account. operationId: updateServiceAccount @@ -45882,6 +50104,18 @@ paths: summary: Service Account Update tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups: get: description: Returns list of Service Account projects. @@ -45917,6 +50151,17 @@ paths: summary: Return All Service Account projects tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets: post: description: Create Service Account secret. @@ -45957,6 +50202,18 @@ paths: summary: Service Account Secret Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}: delete: description: Delete Service Account Secret. @@ -45994,6 +50251,17 @@ paths: summary: Service Account Secret Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46023,6 +50291,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -46058,6 +50337,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -46093,6 +50384,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46133,6 +50435,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46174,6 +50488,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -46214,6 +50539,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46263,6 +50599,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -46308,6 +50656,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46359,6 +50718,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46407,6 +50778,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -46445,6 +50827,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -46477,6 +50870,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -46516,6 +50920,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -46561,6 +50976,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/unauth/controlPlaneIPAddresses: get: description: Returns all control plane IP addresses. Currently, inbound Atlas control plane IP addresses are not yet available. The inbound IP address list in your API response is empty. To manually retrieve a list of inbound Atlas control plane IP addresses, see [Required Inbound Access](https://www.mongodb.com/docs/atlas/setup-cluster-security/#std-label-atlas-required-inbound-access). @@ -46580,6 +51007,17 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIPAddresses --help /api/atlas/v2/users: post: description: |- @@ -46618,6 +51056,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -46653,6 +51103,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -46686,6 +51147,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2024-08-05+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json index 02fbf6b752..a33db87a78 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json @@ -246,6 +246,18 @@ "summary": "Return the status of this MongoDB application", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSystemStatus --help" + } ] } }, @@ -291,6 +303,18 @@ "summary": "Get All Alert Configuration Matchers Field Names", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationMatchersFieldNames --help" + } ] } }, @@ -342,6 +366,18 @@ "summary": "Return All Authorized Clusters in All Projects", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClustersForAllProjects --help" + } ] } }, @@ -393,6 +429,18 @@ "summary": "List All Possible Event Types", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listEventTypes --help" + } ] } }, @@ -435,6 +483,18 @@ "summary": "Delete One Federation Settings Instance", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederationApp --help" + } ] } }, @@ -489,6 +549,18 @@ "summary": "Return All Connected Org Configs from One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listConnectedOrgConfigs --help" + } ] } }, @@ -550,6 +622,18 @@ "summary": "Remove One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeConnectedOrgConfig --help" + } ] }, "get": { @@ -609,6 +693,18 @@ "summary": "Return One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getConnectedOrgConfig --help" + } ] }, "patch": { @@ -679,6 +775,18 @@ "summary": "Update One Org Config Connected to One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateConnectedOrgConfig --help" + } ] } }, @@ -730,6 +838,18 @@ "summary": "Return All Role Mappings from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listRoleMappings --help" + } ] }, "post": { @@ -790,6 +910,18 @@ "summary": "Add One Role Mapping to One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRoleMapping --help" + } ] } }, @@ -851,6 +983,18 @@ "summary": "Remove One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteRoleMapping --help" + } ] }, "get": { @@ -913,6 +1057,18 @@ "summary": "Return One Role Mapping from One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRoleMapping --help" + } ] }, "put": { @@ -986,6 +1142,18 @@ "summary": "Update One Role Mapping in One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateRoleMapping --help" + } ] } }, @@ -1072,6 +1240,18 @@ "summary": "Return All Identity Providers in One Federation", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIdentityProviders --help" + } ] }, "post": { @@ -1132,6 +1312,18 @@ "summary": "Create One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createIdentityProvider --help" + } ] } }, @@ -1187,6 +1379,18 @@ "summary": "Delete One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteIdentityProvider --help" + } ] }, "get": { @@ -1246,6 +1450,18 @@ "summary": "Return One Identity Provider by ID", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProvider --help" + } ] }, "patch": { @@ -1313,6 +1529,18 @@ "summary": "Update One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateIdentityProvider --help" + } ] } }, @@ -1368,6 +1596,18 @@ "summary": "Revoke the JWKS from One OIDC Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api revokeJwksFromIdentityProvider --help" + } ] } }, @@ -1416,6 +1656,18 @@ "summary": "Return the Metadata of One Identity Provider", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIdentityProviderMetadata --help" + } ] } }, @@ -1470,6 +1722,18 @@ "summary": "Return All Projects", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjects --help" + } ] }, "post": { @@ -1544,6 +1808,18 @@ "summary": "Create One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProject --help" + } ] } }, @@ -1606,6 +1882,18 @@ "summary": "Return One Project using Its Name", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectByName --help" + } ] } }, @@ -1654,6 +1942,18 @@ "summary": "Remove One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProject --help" + } ] }, "get": { @@ -1700,6 +2000,18 @@ "summary": "Return One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProject --help" + } ] }, "patch": { @@ -1763,6 +2075,18 @@ "summary": "Update One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProject --help" + } ] } }, @@ -1827,6 +2151,18 @@ "summary": "Add One MongoDB Cloud User to One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addUserToProject --help" + } ] } }, @@ -1885,6 +2221,18 @@ "summary": "Return Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectIpAccessLists --help" + } ] }, "post": { @@ -1961,6 +2309,18 @@ "summary": "Add Entries to Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectIpAccessList --help" + } ] } }, @@ -2024,6 +2384,18 @@ "summary": "Remove One Entry from One Project IP Access List", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectIpAccessList --help" + } ] }, "get": { @@ -2088,6 +2460,18 @@ "summary": "Return One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpList --help" + } ] } }, @@ -2153,6 +2537,18 @@ "summary": "Return Status of One Project IP Access List Entry", "tags": [ "Project IP Access List" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectIpAccessListStatus --help" + } ] } }, @@ -2207,6 +2603,18 @@ "summary": "Return All Alert Configurations for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurations --help" + } ] }, "post": { @@ -2264,6 +2672,18 @@ "summary": "Create One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAlertConfiguration --help" + } ] } }, @@ -2322,6 +2742,18 @@ "summary": "Remove One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAlertConfiguration --help" + } ] }, "get": { @@ -2381,6 +2813,18 @@ "summary": "Return One Alert Configuration from One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlertConfiguration --help" + } ] }, "patch": { @@ -2451,6 +2895,18 @@ "summary": "Toggle One State of One Alert Configuration in One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAlertConfiguration --help" + } ] }, "put": { @@ -2524,6 +2980,18 @@ "summary": "Update One Alert Configuration for One Project", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAlertConfiguration --help" + } ] } }, @@ -2594,6 +3062,18 @@ "summary": "Return All Open Alerts for Alert Configuration", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertsByAlertConfigurationId --help" + } ] } }, @@ -2664,6 +3144,18 @@ "summary": "Return All Alerts from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlerts --help" + } ] } }, @@ -2724,6 +3216,18 @@ "summary": "Return One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAlert --help" + } ] }, "patch": { @@ -2796,6 +3300,18 @@ "summary": "Acknowledge One Alert from One Project", "tags": [ "Alerts" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api acknowledgeAlert --help" + } ] } }, @@ -2865,6 +3381,18 @@ "summary": "Return All Alert Configurations Set for One Alert", "tags": [ "Alert Configurations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAlertConfigurationsByAlertId --help" + } ] } }, @@ -2923,6 +3451,18 @@ "summary": "Return All Organization API Keys Assigned to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectApiKeys --help" + } ] }, "post": { @@ -2977,6 +3517,18 @@ "summary": "Create and Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectApiKey --help" + } ] } }, @@ -3041,6 +3593,18 @@ "summary": "Unassign One Organization API Key from One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectApiKey --help" + } ] }, "patch": { @@ -3119,6 +3683,18 @@ "summary": "Update Roles of One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKeyRoles --help" + } ] }, "post": { @@ -3188,6 +3764,18 @@ "summary": "Assign One Organization API Key to One Project", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectApiKey --help" + } ] } }, @@ -3233,6 +3821,18 @@ "summary": "Return the Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAuditingConfiguration --help" + } ] }, "patch": { @@ -3290,6 +3890,18 @@ "summary": "Update Auditing Configuration for One Project", "tags": [ "Auditing" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAuditingConfiguration --help" + } ] } }, @@ -3335,6 +3947,18 @@ "summary": "Return One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAWSCustomDNS --help" + } ] }, "patch": { @@ -3389,6 +4013,18 @@ "summary": "Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS", "tags": [ "AWS Clusters DNS" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleAWSCustomDNS --help" + } ] } }, @@ -3443,6 +4079,18 @@ "summary": "Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listExportBuckets --help" + } ] }, "post": { @@ -3558,6 +4206,18 @@ "summary": "Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createExportBucket --help" + } ] } }, @@ -3619,6 +4279,18 @@ "summary": "Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteExportBucket --help" + } ] }, "get": { @@ -3709,6 +4381,18 @@ "summary": "Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getExportBucket --help" + } ] } }, @@ -3757,6 +4441,18 @@ "summary": "Return the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataProtectionSettings --help" + } ] }, "put": { @@ -3827,6 +4523,18 @@ "summary": "Update or enable the Backup Compliance Policy settings", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDataProtectionSettings --help" + } ] } }, @@ -3872,6 +4580,18 @@ "summary": "Return All Cloud Provider Access Roles", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderAccessRoles --help" + } ] }, "post": { @@ -3930,6 +4650,18 @@ "summary": "Create One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCloudProviderAccessRole --help" + } ] } }, @@ -3999,6 +4731,18 @@ "summary": "Deauthorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deauthorizeCloudProviderAccessRole --help" + } ] } }, @@ -4056,6 +4800,18 @@ "summary": "Return specified Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCloudProviderAccessRole --help" + } ] }, "patch": { @@ -4132,6 +4888,18 @@ "summary": "Authorize One Cloud Provider Access Role", "tags": [ "Cloud Provider Access" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api authorizeCloudProviderAccessRole --help" + } ] } }, @@ -4195,6 +4963,18 @@ "summary": "Return All Clusters in One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listClusters --help" + } ] }, "post": { @@ -4268,6 +5048,18 @@ "summary": "Create One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCluster --help" + } ] } }, @@ -4341,6 +5133,18 @@ "summary": "Return All Cloud Provider Regions", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCloudProviderRegions --help" + } ] } }, @@ -4409,6 +5213,18 @@ "summary": "Upgrade One Shared-tier Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedCluster --help" + } ] } }, @@ -4477,6 +5293,18 @@ "summary": "Upgrades One Shared-Tier Cluster to the Serverless Instance", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api upgradeSharedClusterToServerless --help" + } ] } }, @@ -4548,6 +5376,18 @@ "summary": "Remove One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCluster --help" + } ] }, "get": { @@ -4609,6 +5449,18 @@ "summary": "Return One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCluster --help" + } ] }, "patch": { @@ -4685,6 +5537,18 @@ "summary": "Modify One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCluster --help" + } ] } }, @@ -4751,6 +5615,18 @@ "summary": "Return All Cloud Backup Snapshot Export Jobs", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupExportJobs --help" + } ] }, "post": { @@ -4823,6 +5699,18 @@ "summary": "Create One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupExportJob --help" + } ] } }, @@ -4886,6 +5774,18 @@ "summary": "Return One Cloud Backup Snapshot Export Job", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupExportJob --help" + } ] } }, @@ -4952,6 +5852,18 @@ "summary": "Return All Restore Jobs for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listBackupRestoreJobs --help" + } ] }, "post": { @@ -5027,6 +5939,18 @@ "summary": "Restore One Snapshot of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createBackupRestoreJob --help" + } ] } }, @@ -5099,6 +6023,18 @@ "summary": "Cancel One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cancelBackupRestoreJob --help" + } ] }, "get": { @@ -5166,6 +6102,18 @@ "summary": "Return One Restore Job of One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupRestoreJob --help" + } ] } }, @@ -5223,6 +6171,18 @@ "summary": "Remove All Cloud Backup Schedules", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllBackupSchedules --help" + } ] }, "get": { @@ -5278,6 +6238,18 @@ "summary": "Return One Cloud Backup Schedule", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getBackupSchedule --help" + } ] }, "patch": { @@ -5347,6 +6319,18 @@ "summary": "Update Cloud Backup Schedule for One Cluster", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateBackupSchedule --help" + } ] } }, @@ -5416,6 +6400,18 @@ "summary": "Return All Replica Set Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listReplicaSetBackups --help" + } ] }, "post": { @@ -5485,6 +6481,18 @@ "summary": "Take One On-Demand Snapshot", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api takeSnapshot --help" + } ] } }, @@ -5554,6 +6562,18 @@ "summary": "Remove One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteShardedClusterBackup --help" + } ] }, "get": { @@ -5624,6 +6644,18 @@ "summary": "Return One Sharded Cluster Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getShardedClusterBackup --help" + } ] } }, @@ -5684,6 +6716,18 @@ "summary": "Return All Sharded Cluster Cloud Backups", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listShardedClusterBackups --help" + } ] } }, @@ -5756,6 +6800,18 @@ "summary": "Remove One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteReplicaSetBackup --help" + } ] }, "get": { @@ -5826,6 +6882,18 @@ "summary": "Return One Replica Set Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getReplicaSetBackup --help" + } ] }, "patch": { @@ -5907,6 +6975,18 @@ "summary": "Change Expiration Date for One Cloud Backup", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateSnapshotRetention --help" + } ] } }, @@ -5987,6 +7067,18 @@ "summary": "Download One M2 or M5 Cluster Snapshot", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadSharedClusterBackup --help" + } ] } }, @@ -6064,6 +7156,18 @@ "summary": "Create One Restore Job from One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6124,6 +7228,18 @@ "summary": "Return All Restore Jobs for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackupRestoreJobs --help" + } ] } }, @@ -6196,6 +7312,18 @@ "summary": "Return One Restore Job for One M2 or M5 Cluster", "tags": [ "Shared-Tier Restore Jobs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackupRestoreJob --help" + } ] } }, @@ -6256,6 +7384,18 @@ "summary": "Return All Snapshots for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSharedClusterBackups --help" + } ] } }, @@ -6328,6 +7468,18 @@ "summary": "Return One Snapshot for One M2 or M5 Cluster", "tags": [ "Shared-Tier Snapshots" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSharedClusterBackup --help" + } ] } }, @@ -6395,6 +7547,18 @@ "summary": "Return All Legacy Backup Checkpoints", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupCheckpoints --help" + } ] } }, @@ -6471,6 +7635,18 @@ "summary": "Return One Legacy Backup Checkpoint", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupCheckpoint --help" + } ] } }, @@ -6531,6 +7707,18 @@ "summary": "Return Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPinnedNamespaces --help" + } ] }, "patch": { @@ -6611,6 +7799,18 @@ "summary": "Add Pinned Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPatch --help" + } ] }, "put": { @@ -6691,6 +7891,18 @@ "summary": "Pin Namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinNamespacesPut --help" + } ] } }, @@ -6762,6 +7974,18 @@ "summary": "Unpin namespaces", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinNamespaces --help" + } ] } }, @@ -6842,6 +8066,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -6926,6 +8162,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7004,6 +8252,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "get": { @@ -7077,6 +8337,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" }, "patch": { @@ -7167,6 +8439,18 @@ "tags": [ "Atlas Search" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexDeprecated --help" + } + ], "x-sunset": "2025-06-01" } }, @@ -7228,6 +8512,18 @@ "summary": "Return One Managed Namespace in One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedNamespace --help" + } ] } }, @@ -7289,6 +8585,18 @@ "summary": "Remove All Custom Zone Mappings from One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAllCustomZoneMappings --help" + } ] }, "post": { @@ -7363,6 +8671,18 @@ "summary": "Add One Entry to One Custom Zone Mapping", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomZoneMapping --help" + } ] } }, @@ -7443,6 +8763,18 @@ "summary": "Remove One Managed Namespace from One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteManagedNamespace --help" + } ] }, "post": { @@ -7520,6 +8852,18 @@ "summary": "Create One Managed Namespace in One Global Cluster", "tags": [ "Global Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createManagedNamespace --help" + } ] } }, @@ -7683,6 +9027,18 @@ "summary": "Create One Rolling Index", "tags": [ "Rolling Index" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createRollingIndex --help" + } ] } }, @@ -7753,6 +9109,18 @@ "summary": "Return All Online Archives for One Cluster", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOnlineArchives --help" + } ] }, "post": { @@ -7832,6 +9200,18 @@ "summary": "Create One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOnlineArchive --help" + } ] } }, @@ -7929,6 +9309,18 @@ "summary": "Download Online Archive Query Logs", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadOnlineArchiveQueryLogs --help" + } ] } }, @@ -8005,6 +9397,18 @@ "summary": "Remove One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOnlineArchive --help" + } ] }, "get": { @@ -8082,6 +9486,18 @@ "summary": "Return One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOnlineArchive --help" + } ] }, "patch": { @@ -8173,6 +9589,18 @@ "summary": "Update One Online Archive", "tags": [ "Online Archive" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOnlineArchive --help" + } ] } }, @@ -8240,6 +9668,18 @@ "summary": "End an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api endOutageSimulation --help" + } ] }, "get": { @@ -8305,6 +9745,18 @@ "summary": "Return One Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOutageSimulation --help" + } ] }, "post": { @@ -8378,6 +9830,18 @@ "summary": "Start an Outage Simulation", "tags": [ "Cluster Outage Simulation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startOutageSimulation --help" + } ] } }, @@ -8442,6 +9906,18 @@ "summary": "Return One Advanced Configuration Options for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterAdvancedConfiguration --help" + } ] }, "patch": { @@ -8519,6 +9995,18 @@ "summary": "Update Advanced Configuration Options for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateClusterAdvancedConfiguration --help" + } ] } }, @@ -8573,6 +10061,18 @@ "summary": "Test Failover for One Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api testFailover --help" + } ] } }, @@ -8654,6 +10154,18 @@ "summary": "Return All Legacy Backup Restore Jobs", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacyBackupRestoreJobs --help" + } ] }, "post": { @@ -8724,6 +10236,18 @@ "summary": "Create One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLegacyBackupRestoreJob --help" + } ] } }, @@ -8797,6 +10321,18 @@ "summary": "Return One Legacy Backup Restore Job", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacyBackupRestoreJob --help" + } ] } }, @@ -8860,6 +10396,18 @@ "summary": "Delete Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchDeployment --help" + } ] }, "get": { @@ -8918,6 +10466,18 @@ "summary": "Return Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchDeployment --help" + } ] }, "patch": { @@ -8990,6 +10550,18 @@ "summary": "Update Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchDeployment --help" + } ] }, "post": { @@ -9062,6 +10634,18 @@ "summary": "Create Search Nodes", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchDeployment --help" + } ] } }, @@ -9139,6 +10723,18 @@ "summary": "Return All Atlas Search Indexes for One Cluster", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexesCluster --help" + } ] }, "post": { @@ -9215,6 +10811,18 @@ "summary": "Create One Atlas Search Index", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createAtlasSearchIndex --help" + } ] } }, @@ -9310,6 +10918,18 @@ "summary": "Return All Atlas Search Indexes for One Collection", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasSearchIndexes --help" + } ] } }, @@ -9401,6 +11021,18 @@ "summary": "Remove One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndexByName --help" + } ] }, "get": { @@ -9490,6 +11122,18 @@ "summary": "Return One Atlas Search Index by Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndexByName --help" + } ] }, "patch": { @@ -9593,6 +11237,18 @@ "summary": "Update One Atlas Search Index By Name", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndexByName --help" + } ] } }, @@ -9669,6 +11325,18 @@ "summary": "Remove One Atlas Search Index by Id", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteAtlasSearchIndex --help" + } ] }, "get": { @@ -9753,6 +11421,18 @@ "summary": "Return One Atlas Search Index by ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasSearchIndex --help" + } ] }, "patch": { @@ -9841,6 +11521,18 @@ "summary": "Update One Atlas Search Index By ID", "tags": [ "Atlas Search" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateAtlasSearchIndex --help" + } ] } }, @@ -9899,6 +11591,18 @@ "summary": "Return One Snapshot Schedule", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshotSchedule --help" + } ] }, "patch": { @@ -9966,6 +11670,18 @@ "summary": "Update Snapshot Schedule for One Cluster", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotSchedule --help" + } ] } }, @@ -10047,6 +11763,18 @@ "summary": "Return All Legacy Backup Snapshots", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listLegacySnapshots --help" + } ] } }, @@ -10120,6 +11848,18 @@ "summary": "Remove One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLegacySnapshot --help" + } ] }, "get": { @@ -10188,6 +11928,18 @@ "summary": "Return One Legacy Backup Snapshot", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLegacySnapshot --help" + } ] }, "patch": { @@ -10267,6 +12019,18 @@ "summary": "Change One Legacy Backup Snapshot Expiration", "tags": [ "Legacy Backup" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateLegacySnapshotRetention --help" + } ] } }, @@ -10324,6 +12088,18 @@ "summary": "Return Status of All Cluster Operations", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getClusterStatus --help" + } ] } }, @@ -10401,6 +12177,18 @@ "summary": "Return Ranked Namespaces from a Cluster", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForCluster --help" + } ] } }, @@ -10531,6 +12319,18 @@ "summary": "Return Cluster-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceClusterMeasurements --help" + } ] } }, @@ -10608,6 +12408,18 @@ "summary": "Pin FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pinFeatureCompatibilityVersion --help" + } ] } }, @@ -10677,6 +12489,18 @@ "summary": "Unpins FCV for One Cluster from One Project", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api unpinFeatureCompatibilityVersion --help" + } ] } }, @@ -10782,6 +12606,18 @@ "summary": "Download Logs for One Cluster Host in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostLogs --help" + } ] } }, @@ -10830,6 +12666,18 @@ "summary": "Return all metric names", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceMetrics --help" + } ] } }, @@ -10902,6 +12750,18 @@ "summary": "Return All Network Peering Containers in One Project for One Cloud Provider", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainerByCloudProvider --help" + } ] }, "post": { @@ -10968,6 +12828,18 @@ "summary": "Create One New Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringContainer --help" + } ] } }, @@ -11022,6 +12894,18 @@ "summary": "Return All Network Peering Containers in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringContainers --help" + } ] } }, @@ -11089,6 +12973,18 @@ "summary": "Remove One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringContainer --help" + } ] }, "get": { @@ -11145,6 +13041,18 @@ "summary": "Return One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringContainer --help" + } ] }, "patch": { @@ -11224,6 +13132,18 @@ "summary": "Update One Network Peering Container", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringContainer --help" + } ] } }, @@ -11272,6 +13192,18 @@ "summary": "Return All Custom Roles in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listCustomDatabaseRoles --help" + } ] }, "post": { @@ -11338,6 +13270,18 @@ "summary": "Create One Custom Role", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCustomDatabaseRole --help" + } ] } }, @@ -11398,6 +13342,18 @@ "summary": "Remove One Custom Role from One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteCustomDatabaseRole --help" + } ] }, "get": { @@ -11453,6 +13409,18 @@ "summary": "Return One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCustomDatabaseRole --help" + } ] }, "patch": { @@ -11528,6 +13496,18 @@ "summary": "Update One Custom Role in One Project", "tags": [ "Custom Database Roles" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateCustomDatabaseRole --help" + } ] } }, @@ -11589,6 +13569,18 @@ "summary": "Return All Federated Database Instances in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listFederatedDatabases --help" + } ] }, "post": { @@ -11652,6 +13644,18 @@ "summary": "Create One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createFederatedDatabase --help" + } ] } }, @@ -11706,6 +13710,18 @@ "summary": "Remove One Federated Database Instance from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteFederatedDatabase --help" + } ] }, "get": { @@ -11761,6 +13777,18 @@ "summary": "Return One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederatedDatabase --help" + } ] }, "patch": { @@ -11836,6 +13864,18 @@ "summary": "Update One Federated Database Instance in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateFederatedDatabase --help" + } ] } }, @@ -11896,6 +13936,18 @@ "summary": "Return All Query Limits for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimits --help" + } ] } }, @@ -11962,6 +14014,18 @@ "summary": "Delete One Query Limit For One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOneDataFederationInstanceQueryLimit --help" + } ] }, "get": { @@ -12029,6 +14093,18 @@ "summary": "Return One Federated Database Instance Query Limit for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnFederatedDatabaseQueryLimit --help" + } ] }, "patch": { @@ -12110,6 +14186,18 @@ "summary": "Configure One Query Limit for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOneDataFederationQueryLimit --help" + } ] } }, @@ -12194,6 +14282,18 @@ "summary": "Download Query Logs for One Federated Database Instance", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadFederatedDatabaseQueryLogs --help" + } ] } }, @@ -12248,6 +14348,18 @@ "summary": "Return All Database Users from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUsers --help" + } ] }, "post": { @@ -12466,6 +14578,18 @@ "summary": "Create One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUser --help" + } ] } }, @@ -12536,6 +14660,18 @@ "summary": "Remove One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDatabaseUser --help" + } ] }, "get": { @@ -12601,6 +14737,18 @@ "summary": "Return One Database User from One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseUser --help" + } ] }, "patch": { @@ -12686,6 +14834,18 @@ "summary": "Update One Database User in One Project", "tags": [ "Database Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateDatabaseUser --help" + } ] } }, @@ -12752,6 +14912,18 @@ "summary": "Return All X.509 Certificates Assigned to One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabaseUserCertificates --help" + } ] }, "post": { @@ -12832,6 +15004,18 @@ "summary": "Create One X.509 Certificate for One MongoDB User", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDatabaseUserCertificate --help" + } ] } }, @@ -12943,6 +15127,18 @@ "summary": "Return Database Access History for One Cluster using Its Cluster Name", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByClusterName --help" + } ] } }, @@ -13051,6 +15247,18 @@ "summary": "Return Database Access History for One Cluster using Its Hostname", "tags": [ "Access Tracking" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAccessLogsByHostname --help" + } ] } }, @@ -13096,6 +15304,18 @@ "summary": "Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRest --help" + } ] }, "patch": { @@ -13159,6 +15379,18 @@ "summary": "Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateEncryptionAtRest --help" + } ] } }, @@ -13216,6 +15448,18 @@ "summary": "Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help" + } ] }, "post": { @@ -13282,6 +15526,18 @@ "summary": "Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13362,6 +15618,18 @@ "summary": "Delete Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api requestEncryptionAtRestPrivateEndpointDeletion --help" + } ] }, "get": { @@ -13429,6 +15697,18 @@ "summary": "Return One Private Endpoint for Encryption at Rest Using Customer Key Management", "tags": [ "Encryption at Rest using Customer Key Management" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getEncryptionAtRestPrivateEndpoint --help" + } ] } }, @@ -13550,6 +15830,18 @@ "summary": "Return All Events from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectEvents --help" + } ] } }, @@ -13619,6 +15911,18 @@ "summary": "Return One Event from One Project", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectEvent --help" + } ] } }, @@ -13667,6 +15971,18 @@ "summary": "Return All Atlas Search Metric Types for One Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listMetricTypes --help" + } ] } }, @@ -13761,6 +16077,18 @@ "summary": "Return All Atlas Search Index Metrics for One Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listIndexMetrics --help" + } ] } }, @@ -13858,6 +16186,18 @@ "summary": "Return Atlas Search Metrics for One Index in One Specified Namespace", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getIndexMetrics --help" + } ] } }, @@ -13943,10 +16283,22 @@ { "DigestAuth": [] } - ], - "summary": "Return Atlas Search Hardware and Status Metrics", - "tags": [ - "Monitoring and Logs" + ], + "summary": "Return Atlas Search Hardware and Status Metrics", + "tags": [ + "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMeasurements --help" + } ] } }, @@ -14007,6 +16359,18 @@ "summary": "Return All Active Third-Party Service Integrations", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listThirdPartyIntegrations --help" + } ] } }, @@ -14080,6 +16444,18 @@ "summary": "Remove One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteThirdPartyIntegration --help" + } ] }, "get": { @@ -14151,6 +16527,18 @@ "summary": "Return One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getThirdPartyIntegration --help" + } ] }, "post": { @@ -14245,6 +16633,18 @@ "summary": "Configure One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createThirdPartyIntegration --help" + } ] }, "put": { @@ -14336,6 +16736,18 @@ "summary": "Update One Third-Party Service Integration", "tags": [ "Third-Party Integrations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateThirdPartyIntegration --help" + } ] } }, @@ -14395,6 +16807,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectInvitations --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14457,6 +16881,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "post": { @@ -14513,6 +16949,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14569,6 +17017,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "get": { @@ -14629,6 +17089,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectInvitation --help" + } + ], "x-sunset": "2024-10-04" }, "patch": { @@ -14700,6 +17172,18 @@ "tags": [ "Projects" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectInvitationById --help" + } + ], "x-sunset": "2024-10-04" } }, @@ -14748,6 +17232,18 @@ "summary": "Return All IP Addresses for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllIPAddresses --help" + } ] } }, @@ -14805,6 +17301,18 @@ "summary": "Return All Limits for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectLimits --help" + } ] } }, @@ -14880,6 +17388,18 @@ "summary": "Remove One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectLimit --help" + } ] }, "get": { @@ -14956,6 +17476,18 @@ "summary": "Return One Limit for One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLimit --help" + } ] }, "patch": { @@ -15043,6 +17575,18 @@ "summary": "Set One Project Limit", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setProjectLimit --help" + } ] } }, @@ -15109,6 +17653,18 @@ "summary": "Migrate One Local Managed Cluster to MongoDB Atlas", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushMigration --help" + } ] } }, @@ -15175,6 +17731,18 @@ "summary": "Validate One Migration Request", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api validateMigration --help" + } ] } }, @@ -15239,6 +17807,18 @@ "summary": "Return One Migration Validation Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getValidationStatus --help" + } ] } }, @@ -15293,6 +17873,18 @@ "summary": "Return One Migration Job", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushMigration --help" + } ] } }, @@ -15347,6 +17939,18 @@ "summary": "Cut Over the Migrated Cluster", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api cutoverMigration --help" + } ] } }, @@ -15389,6 +17993,18 @@ "summary": "Reset One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resetMaintenanceWindow --help" + } ] }, "get": { @@ -15432,6 +18048,18 @@ "summary": "Return One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getMaintenanceWindow --help" + } ] }, "patch": { @@ -15486,6 +18114,18 @@ "summary": "Update Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateMaintenanceWindow --help" + } ] } }, @@ -15528,6 +18168,18 @@ "summary": "Toggle Automatic Deferral of Maintenance for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleMaintenanceAutoDefer --help" + } ] } }, @@ -15570,6 +18222,18 @@ "summary": "Defer One Maintenance Window for One Project", "tags": [ "Maintenance Windows" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deferMaintenanceWindow --help" + } ] } }, @@ -15615,6 +18279,18 @@ "summary": "Return Managed Slow MS enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getManagedSlowMs --help" + } ] } }, @@ -15660,6 +18336,18 @@ "summary": "Disable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableSlowOperationThresholding --help" + } ] } }, @@ -15705,6 +18393,18 @@ "summary": "Enable Managed Slow Operation Threshold", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api enableSlowOperationThresholding --help" + } ] } }, @@ -15811,6 +18511,18 @@ "summary": "Return Available MongoDB LTS Versions for clusters in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectLTSVersions --help" + } ] } }, @@ -15882,6 +18594,18 @@ "summary": "Return All Network Peering Connections in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPeeringConnections --help" + } ] }, "post": { @@ -15949,6 +18673,18 @@ "summary": "Create One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPeeringConnection --help" + } ] } }, @@ -16009,6 +18745,18 @@ "summary": "Remove One Existing Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePeeringConnection --help" + } ] }, "get": { @@ -16067,6 +18815,18 @@ "summary": "Return One Network Peering Connection in One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPeeringConnection --help" + } ] }, "patch": { @@ -16142,6 +18902,18 @@ "summary": "Update One New Network Peering Connection", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePeeringConnection --help" + } ] } }, @@ -16190,6 +18962,18 @@ "summary": "Return All Data Lake Pipelines from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelines --help" + } ] }, "post": { @@ -16247,6 +19031,18 @@ "summary": "Create One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPipeline --help" + } ] } }, @@ -16304,6 +19100,18 @@ "summary": "Remove One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipeline --help" + } ] }, "get": { @@ -16362,6 +19170,18 @@ "summary": "Return One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipeline --help" + } ] }, "patch": { @@ -16434,6 +19254,18 @@ "summary": "Update One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePipeline --help" + } ] } }, @@ -16497,6 +19329,18 @@ "summary": "Return Available Ingestion Schedules for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSchedules --help" + } ] } }, @@ -16528,7 +19372,7 @@ "in": "query", "name": "completedAfter", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16576,6 +19420,18 @@ "summary": "Return Available Backup Snapshots for One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineSnapshots --help" + } ] } }, @@ -16636,6 +19492,18 @@ "summary": "Pause One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api pausePipeline --help" + } ] } }, @@ -16696,6 +19564,18 @@ "summary": "Resume One Data Lake Pipeline", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api resumePipeline --help" + } ] } }, @@ -16727,7 +19607,7 @@ "in": "query", "name": "createdBefore", "schema": { - "example": "2022-01-01T00:00:00Z", + "example": "2022-01-01T00:00:00.000Z", "format": "date-time", "type": "string" } @@ -16775,6 +19655,18 @@ "summary": "Return All Data Lake Pipeline Runs from One Project", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPipelineRuns --help" + } ] } }, @@ -16848,6 +19740,18 @@ "summary": "Delete Pipeline Run Dataset", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePipelineRunDataset --help" + } ] }, "get": { @@ -16919,6 +19823,18 @@ "summary": "Return One Data Lake Pipeline Run", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPipelineRun --help" + } ] } }, @@ -16990,6 +19906,18 @@ "summary": "Trigger on demand snapshot ingestion", "tags": [ "Data Lake Pipelines" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api triggerSnapshotIngestion --help" + } ] } }, @@ -17050,6 +19978,18 @@ "summary": "Create One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpointService --help" + } ] } }, @@ -17098,6 +20038,18 @@ "summary": "Return Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getRegionalizedPrivateEndpointSetting --help" + } ] }, "patch": { @@ -17155,6 +20107,18 @@ "summary": "Toggle Regionalized Private Endpoint Status", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api toggleRegionalizedPrivateEndpointSetting --help" + } ] } }, @@ -17214,6 +20178,18 @@ "summary": "Return All Private Endpoints for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessPrivateEndpoints --help" + } ] }, "post": { @@ -17283,6 +20259,18 @@ "summary": "Create One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessPrivateEndpoint --help" + } ] } }, @@ -17351,6 +20339,18 @@ "summary": "Remove One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessPrivateEndpoint --help" + } ] }, "get": { @@ -17417,6 +20417,18 @@ "summary": "Return One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessPrivateEndpoint --help" + } ] }, "patch": { @@ -17494,6 +20506,18 @@ "summary": "Update One Private Endpoint for One Serverless Instance", "tags": [ "Serverless Private Endpoints" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessPrivateEndpoint --help" + } ] } }, @@ -17557,6 +20581,18 @@ "summary": "Return All Private Endpoint Services for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPrivateEndpointServices --help" + } ] } }, @@ -17629,6 +20665,18 @@ "summary": "Remove One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpointService --help" + } ] }, "get": { @@ -17702,6 +20750,18 @@ "summary": "Return One Private Endpoint Service for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpointService --help" + } ] } }, @@ -17794,6 +20854,18 @@ "summary": "Create One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPrivateEndpoint --help" + } ] } }, @@ -17876,6 +20948,18 @@ "summary": "Remove One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePrivateEndpoint --help" + } ] }, "get": { @@ -17959,6 +21043,18 @@ "summary": "Return One Private Endpoint for One Provider", "tags": [ "Private Endpoint Services" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPrivateEndpoint --help" + } ] } }, @@ -18009,6 +21105,18 @@ "summary": "Verify Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyConnectViaPeeringOnlyModeForOneProject --help" + } ] }, "patch": { @@ -18071,6 +21179,18 @@ "summary": "Disable Connect via Peering Only Mode for One Project", "tags": [ "Network Peering" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disablePeering --help" + } ] } }, @@ -18131,6 +21251,18 @@ "summary": "Return All Federated Database Instance and Online Archive Private Endpoints in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDataFederationPrivateEndpoints --help" + } ] }, "post": { @@ -18188,6 +21320,18 @@ "summary": "Create One Federated Database Instance and Online Archive Private Endpoint for One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createDataFederationPrivateEndpoint --help" + } ] } }, @@ -18248,6 +21392,18 @@ "summary": "Remove One Federated Database Instance and Online Archive Private Endpoint from One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteDataFederationPrivateEndpoint --help" + } ] }, "get": { @@ -18309,6 +21465,18 @@ "summary": "Return One Federated Database Instance and Online Archive Private Endpoint in One Project", "tags": [ "Data Federation" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDataFederationPrivateEndpoint --help" + } ] } }, @@ -18363,6 +21531,18 @@ "summary": "Return All MongoDB Processes in One Project", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listAtlasProcesses --help" + } ] } }, @@ -18419,6 +21599,18 @@ "summary": "Return One MongoDB Process by ID", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getAtlasProcess --help" + } ] } }, @@ -18473,6 +21665,18 @@ "summary": "Return Ranked Namespaces from a Host", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespacesForHost --help" + } ] } }, @@ -18538,6 +21742,18 @@ "summary": "Return Available Databases for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDatabases --help" + } ] } }, @@ -18603,6 +21819,18 @@ "summary": "Return One Database for a MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabase --help" + } ] } }, @@ -18707,6 +21935,18 @@ "summary": "Return Measurements of One Database for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDatabaseMeasurements --help" + } ] } }, @@ -18772,6 +22012,18 @@ "summary": "Return Available Disks for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskPartitions --help" + } ] } }, @@ -18834,6 +22086,18 @@ "summary": "Return Measurements of One Disk", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listDiskMeasurements --help" + } ] } }, @@ -18947,6 +22211,18 @@ "summary": "Return Measurements of One Disk for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getDiskMeasurements --help" + } ] } }, @@ -19167,6 +22443,18 @@ "summary": "Return Measurements for One MongoDB Process", "tags": [ "Monitoring and Logs" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getHostMeasurements --help" + } ] } }, @@ -19241,6 +22529,18 @@ "summary": "Return All Namespaces for One Host", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueryNamespaces --help" + } ] } }, @@ -19339,6 +22639,18 @@ "summary": "Return Slow Queries", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSlowQueries --help" + } ] } }, @@ -19453,6 +22765,18 @@ "summary": "Return Suggested Indexes", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSuggestedIndexes --help" + } ] } }, @@ -19558,6 +22882,18 @@ "summary": "Return Host-Level Query Latency", "tags": [ "Collection Level Metrics" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getCollStatsLatencyNamespaceHostMeasurements --help" + } ] } }, @@ -19609,6 +22945,18 @@ "summary": "Disable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deletePushBasedLogConfiguration --help" + } ] }, "get": { @@ -19658,6 +23006,18 @@ "summary": "Get the push-based log export configuration for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getPushBasedLogConfiguration --help" + } ] }, "patch": { @@ -19719,6 +23079,18 @@ "summary": "Update the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updatePushBasedLogConfiguration --help" + } ] }, "post": { @@ -19780,6 +23152,18 @@ "summary": "Enable the push-based log export feature for a project", "tags": [ "Push-Based Log Export" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createPushBasedLogConfiguration --help" + } ] } }, @@ -19840,6 +23224,18 @@ "summary": "Load Sample Dataset Request into Cluster", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api loadSampleDataset --help" + } ] } }, @@ -19894,6 +23290,18 @@ "summary": "Check Status of Cluster Sample Dataset Request", "tags": [ "Clusters" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getSampleDatasetLoadStatus --help" + } ] } }, @@ -19948,6 +23356,18 @@ "summary": "Return All Serverless Instances from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessInstances --help" + } ] }, "post": { @@ -20008,6 +23428,18 @@ "summary": "Create One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessInstance --help" + } ] } }, @@ -20077,6 +23509,18 @@ "summary": "Return All Restore Jobs for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackupRestoreJobs --help" + } ] }, "post": { @@ -20152,6 +23596,18 @@ "summary": "Restore One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServerlessBackupRestoreJob --help" + } ] } }, @@ -20224,6 +23680,18 @@ "summary": "Return One Restore Job for One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackupRestoreJob --help" + } ] } }, @@ -20293,6 +23761,18 @@ "summary": "Return All Snapshots of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServerlessBackups --help" + } ] } }, @@ -20363,6 +23843,18 @@ "summary": "Return One Snapshot of One Serverless Instance", "tags": [ "Cloud Backups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessBackup --help" + } ] } }, @@ -20420,6 +23912,18 @@ "summary": "Return Serverless Auto Indexing Enabled", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessAutoIndexing --help" + } ] }, "post": { @@ -20481,6 +23985,18 @@ "summary": "Set Serverless Auto Indexing", "tags": [ "Performance Advisor" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api setServerlessAutoIndexing --help" + } ] } }, @@ -20544,6 +24060,18 @@ "summary": "Remove One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServerlessInstance --help" + } ] }, "get": { @@ -20605,6 +24133,18 @@ "summary": "Return One Serverless Instance from One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServerlessInstance --help" + } ] }, "patch": { @@ -20674,6 +24214,18 @@ "summary": "Update One Serverless Instance in One Project", "tags": [ "Serverless Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServerlessInstance --help" + } ] } }, @@ -20728,6 +24280,18 @@ "summary": "Return All project Service Accounts", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectServiceAccounts --help" + } ] }, "post": { @@ -20786,6 +24350,18 @@ "summary": "Create and Assign one Service Account to one project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createProjectServiceAccount --help" + } ] } }, @@ -20844,6 +24420,18 @@ "summary": "Unassign One Service Account from One Project.", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteProjectServiceAccount --help" + } ] }, "get": { @@ -20899,6 +24487,18 @@ "summary": "Service Account Fetching", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectServiceAccount --help" + } ] }, "patch": { @@ -20968,6 +24568,18 @@ "summary": "Service Account Update in Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectServiceAccount --help" + } ] }, "post": { @@ -21039,6 +24651,18 @@ "summary": "Assign One Service Account to One Project", "tags": [ "Groups" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addProjectServiceAccount --help" + } ] } }, @@ -21090,6 +24714,18 @@ "summary": "Return One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getProjectSettings --help" + } ] }, "patch": { @@ -21150,6 +24786,18 @@ "summary": "Update One Project Settings", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectSettings --help" + } ] } }, @@ -21201,6 +24849,18 @@ "summary": "Return All Project Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamInstances --help" + } ] }, "post": { @@ -21258,6 +24918,18 @@ "summary": "Create One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamInstance --help" + } ] } }, @@ -21318,6 +24990,18 @@ "summary": "Delete One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamInstance --help" + } ] }, "get": { @@ -21381,6 +25065,18 @@ "summary": "Return One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamInstance --help" + } ] }, "patch": { @@ -21453,6 +25149,18 @@ "summary": "Update One Stream Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamInstance --help" + } ] } }, @@ -21540,6 +25248,18 @@ "summary": "Download Audit Logs for One Atlas Stream Processing Instance", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadStreamTenantAuditLogs --help" + } ] } }, @@ -21603,6 +25323,18 @@ "summary": "Return All Connections Of The Stream Instances", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamConnections --help" + } ] }, "post": { @@ -21672,6 +25404,18 @@ "summary": "Create One Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamConnection --help" + } ] } }, @@ -21741,6 +25485,18 @@ "summary": "Delete One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamConnection --help" + } ] }, "get": { @@ -21802,6 +25558,18 @@ "summary": "Return One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamConnection --help" + } ] }, "patch": { @@ -21883,6 +25651,18 @@ "summary": "Update One Stream Connection", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateStreamConnection --help" + } ] } }, @@ -21954,6 +25734,18 @@ "summary": "Create One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createStreamProcessor --help" + } ] } }, @@ -22020,6 +25812,18 @@ "summary": "Delete One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteStreamProcessor --help" + } ] }, "get": { @@ -22087,6 +25891,18 @@ "summary": "Get One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getStreamProcessor --help" + } ] } }, @@ -22156,6 +25972,18 @@ "summary": "Start One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api startStreamProcessor --help" + } ] } }, @@ -22225,6 +26053,18 @@ "summary": "Stop One Stream Processor", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api stopStreamProcessor --help" + } ] } }, @@ -22294,6 +26134,18 @@ "summary": "Return All Stream Processors In The Stream Instance.", "tags": [ "Streams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listStreamProcessors --help" + } ] } }, @@ -22357,6 +26209,18 @@ "summary": "Return All Teams in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectTeams --help" + } ] }, "post": { @@ -22427,6 +26291,18 @@ "summary": "Add One or More Teams to One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addAllTeamsToProject --help" + } ] } }, @@ -22491,6 +26367,18 @@ "summary": "Remove One Team from One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectTeam --help" + } ] }, "patch": { @@ -22570,6 +26458,18 @@ "summary": "Update Team Roles in One Project", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateTeamRoles --help" + } ] } }, @@ -22615,6 +26515,18 @@ "summary": "Return the Current LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfiguration --help" + } ] }, "patch": { @@ -22672,6 +26584,18 @@ "summary": "Edit the LDAP or X.509 Configuration", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api saveLDAPConfiguration --help" + } ] } }, @@ -22714,6 +26638,18 @@ "summary": "Disable Customer-Managed X.509", "tags": [ "X.509 Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api disableCustomerManagedX509 --help" + } ] } }, @@ -22759,6 +26695,18 @@ "summary": "Remove the Current LDAP User to DN Mapping", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLDAPConfiguration --help" + } ] } }, @@ -22818,6 +26766,18 @@ "summary": "Verify the LDAP Configuration in One Project", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api verifyLDAPConfiguration --help" + } ] } }, @@ -22875,6 +26835,18 @@ "summary": "Return the Status of One Verify LDAP Configuration Request", "tags": [ "LDAP Configuration" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getLDAPConfigurationStatus --help" + } ] } }, @@ -22947,6 +26919,18 @@ "summary": "Return All Users in One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listProjectUsers --help" + } ] } }, @@ -23007,6 +26991,18 @@ "summary": "Remove One User from One Project", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeProjectUser --help" + } ] } }, @@ -23081,6 +27077,18 @@ "summary": "Update Project Roles for One MongoDB Cloud User", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateProjectRoles --help" + } ] } }, @@ -23135,6 +27143,18 @@ "summary": "Return All USS Instances from One Project", "tags": [ "USS Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/uss?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listUSSInstances --help" + } ] }, "post": { @@ -23195,6 +27215,18 @@ "summary": "Create One USS Instance in One Project", "tags": [ "USS Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/uss\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUSSInstance --help" + } ] } }, @@ -23259,6 +27291,18 @@ "tags": [ "USS Instances" ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/uss/{name}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteUSSInstance --help" + } + ], "x-xgen-changelog": { "2025-03-02": "Changelog test entry." } @@ -23322,6 +27366,18 @@ "summary": "Return One USS Instance from One Project", "tags": [ "USS Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUSSInstance --help" + } ] }, "patch": { @@ -23391,6 +27447,18 @@ "summary": "Update One USS Instance in One Project", "tags": [ "USS Instances" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/uss/{name}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateUSSInstance --help" + } ] } }, @@ -23444,6 +27512,18 @@ "summary": "Migrate One Project to Another Organization", "tags": [ "Projects" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api migrateProjectToAnotherOrg --help" + } ] } }, @@ -23512,6 +27592,18 @@ "summary": "Return All Organizations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizations --help" + } ] }, "post": { @@ -23575,6 +27667,18 @@ "summary": "Create One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganization --help" + } ] } }, @@ -23629,6 +27733,18 @@ "summary": "Remove One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganization --help" + } ] }, "get": { @@ -23681,6 +27797,18 @@ "summary": "Return One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganization --help" + } ] }, "patch": { @@ -23744,6 +27872,18 @@ "summary": "Rename One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameOrganization --help" + } ] } }, @@ -23802,6 +27942,18 @@ "summary": "Return All Organization API Keys", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeys --help" + } ] }, "post": { @@ -23860,6 +28012,18 @@ "summary": "Create One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKey --help" + } ] } }, @@ -23921,6 +28085,18 @@ "summary": "Remove One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKey --help" + } ] }, "get": { @@ -23980,6 +28156,18 @@ "summary": "Return One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKey --help" + } ] }, "patch": { @@ -24053,6 +28241,18 @@ "summary": "Update One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateApiKey --help" + } ] } }, @@ -24123,6 +28323,18 @@ "summary": "Return All Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listApiKeyAccessListsEntries --help" + } ] }, "post": { @@ -24207,6 +28419,18 @@ "summary": "Create Access List Entries for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createApiKeyAccessList --help" + } ] } }, @@ -24285,6 +28509,18 @@ "summary": "Remove One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteApiKeyAccessListEntry --help" + } ] }, "get": { @@ -24358,6 +28594,18 @@ "summary": "Return One Access List Entry for One Organization API Key", "tags": [ "Programmatic API Keys" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getApiKeyAccessList --help" + } ] } }, @@ -24414,6 +28662,18 @@ "summary": "Create Cost Explorer query process", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess --help" + } ] } }, @@ -24483,6 +28743,18 @@ "summary": "Return results from a given Cost Explorer query, or notify that the results are not ready yet.", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createCostExplorerQueryProcess_1 --help" + } ] } }, @@ -24543,7 +28815,7 @@ "in": "query", "name": "minDate", "schema": { - "example": "2021-11-17T23:15:00.06Z", + "example": "2021-11-17T23:15:00.060Z", "format": "date-time", "type": "string" } @@ -24576,6 +28848,18 @@ "summary": "Return All Events from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationEvents --help" + } ] } }, @@ -24645,6 +28929,18 @@ "summary": "Return One Event from One Organization", "tags": [ "Events" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationEvent --help" + } ] } }, @@ -24696,6 +28992,18 @@ "summary": "Return Federation Settings for One Organization", "tags": [ "Federated Authentication" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getFederationSettings --help" + } ] } }, @@ -24764,6 +29072,18 @@ "summary": "Return One or More Projects in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationProjects --help" + } ] } }, @@ -24827,6 +29147,18 @@ "summary": "Return All Organization Invitations", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationInvitations --help" + } ] }, "patch": { @@ -24887,6 +29219,18 @@ "summary": "Update One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitation --help" + } ] }, "post": { @@ -24947,6 +29291,18 @@ "summary": "Invite One MongoDB Cloud User to Join One Atlas Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createOrganizationInvitation --help" + } ] } }, @@ -25007,6 +29363,18 @@ "summary": "Cancel One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteOrganizationInvitation --help" + } ] }, "get": { @@ -25065,6 +29433,18 @@ "summary": "Return One Organization Invitation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationInvitation --help" + } ] }, "patch": { @@ -25137,6 +29517,18 @@ "summary": "Update One Organization Invitation by Invitation ID", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationInvitationById --help" + } ] } }, @@ -25273,6 +29665,18 @@ "summary": "Return All Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listInvoices --help" + } ] } }, @@ -25321,6 +29725,18 @@ "summary": "Return All Pending Invoices for One Organization", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listPendingInvoices --help" + } ] } }, @@ -25387,6 +29803,18 @@ "summary": "Return One Organization Invoice", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getInvoice --help" + } ] } }, @@ -25446,6 +29874,18 @@ "summary": "Return One Organization Invoice as CSV", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api downloadInvoiceCSV --help" + } ] } }, @@ -25520,6 +29960,18 @@ "summary": "Query lineItems of the specified invoiceId", "tags": [ "Invoices" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api queryLineItemsFromSingleInvoice --help" + } ] } }, @@ -25571,6 +30023,18 @@ "summary": "Return All Projects Available for Migration", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listSourceProjects --help" + } ] } }, @@ -25616,6 +30080,18 @@ "summary": "Remove One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteLinkToken --help" + } ] }, "post": { @@ -25673,6 +30149,18 @@ "summary": "Create One Link-Token", "tags": [ "Cloud Migration Service" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createLinkToken --help" + } ] } }, @@ -25727,6 +30215,18 @@ "summary": "Return All Service Accounts", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccounts --help" + } ] }, "post": { @@ -25784,6 +30284,18 @@ "summary": "Service Account Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccount --help" + } ] } }, @@ -25838,6 +30350,18 @@ "summary": "Service Account Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccount --help" + } ] }, "get": { @@ -25893,6 +30417,18 @@ "summary": "Service Account Fetching", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getServiceAccount --help" + } ] }, "patch": { @@ -25962,6 +30498,18 @@ "summary": "Service Account Update", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateServiceAccount --help" + } ] } }, @@ -26025,6 +30573,18 @@ "summary": "Return All Service Account projects", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listServiceAccountProjects --help" + } ] } }, @@ -26093,6 +30653,18 @@ "summary": "Service Account Secret Creation", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createServiceAccountSecret --help" + } ] } }, @@ -26156,6 +30728,18 @@ "summary": "Service Account Secret Deletion.", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteServiceAccountSecret --help" + } ] } }, @@ -26207,6 +30791,18 @@ "summary": "Return Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getOrganizationSettings --help" + } ] }, "patch": { @@ -26267,6 +30863,18 @@ "summary": "Update Settings for One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationSettings --help" + } ] } }, @@ -26331,6 +30939,18 @@ "summary": "Return All Teams in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationTeams --help" + } ] }, "post": { @@ -26398,6 +31018,18 @@ "summary": "Create One Team in One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createTeam --help" + } ] } }, @@ -26462,6 +31094,18 @@ "summary": "Return One Team using its Name", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamByName --help" + } ] } }, @@ -26529,6 +31173,18 @@ "summary": "Remove One Team from One Organization", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api deleteTeam --help" + } ] }, "get": { @@ -26594,6 +31250,18 @@ "summary": "Return One Team using its ID", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getTeamById --help" + } ] }, "patch": { @@ -26673,6 +31341,18 @@ "summary": "Rename One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api renameTeam --help" + } ] } }, @@ -26749,6 +31429,18 @@ "summary": "Return All MongoDB Cloud Users Assigned to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listTeamUsers --help" + } ] }, "post": { @@ -26831,6 +31523,18 @@ "summary": "Assign MongoDB Cloud Users from One Organization to One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api addTeamUser --help" + } ] } }, @@ -26907,6 +31611,18 @@ "summary": "Remove One MongoDB Cloud User from One Team", "tags": [ "Teams" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeTeamUser --help" + } ] } }, @@ -26967,6 +31683,18 @@ "summary": "Return All MongoDB Cloud Users in One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api listOrganizationUsers --help" + } ] } }, @@ -27030,6 +31758,18 @@ "summary": "Remove One MongoDB Cloud User from One Organization", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api removeOrganizationUser --help" + } ] } }, @@ -27104,6 +31844,18 @@ "summary": "Update Organization Roles for One MongoDB Cloud User", "tags": [ "Organizations" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api updateOrganizationRoles --help" + } ] } }, @@ -27135,6 +31887,18 @@ "summary": "Return All Control Plane IP Addresses", "tags": [ "Root" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api returnAllControlPlaneIPAddresses --help" + } ] } }, @@ -27191,6 +31955,18 @@ "summary": "Create One MongoDB Cloud User", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api createUser --help" + } ] } }, @@ -27246,6 +32022,18 @@ "summary": "Return One MongoDB Cloud User using Their Username", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUserByUsername --help" + } ] } }, @@ -27303,6 +32091,18 @@ "summary": "Return One MongoDB Cloud User using Its ID", "tags": [ "MongoDB Cloud Users" + ], + "x-codeSamples": [ + { + "lang": "cURL", + "label": "curl", + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + }, + { + "lang": "cURL", + "label": "Atlas CLI", + "source": "atlas api getUser --help" + } ] } } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml index b9897b1c06..9d72f3d3ba 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml @@ -30555,6 +30555,17 @@ paths: summary: Return the status of this MongoDB application tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSystemStatus --help /api/atlas/v2/alertConfigs/matchers/fieldNames: get: description: 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. @@ -30581,6 +30592,17 @@ paths: summary: Get All Alert Configuration Matchers Field Names tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationMatchersFieldNames --help /api/atlas/v2/clusters: get: description: 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. @@ -30608,6 +30630,17 @@ paths: summary: Return All Authorized Clusters in All Projects tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClustersForAllProjects --help /api/atlas/v2/eventTypes: get: description: Returns a list of all event types, along with a description and additional metadata about each event. @@ -30635,6 +30668,17 @@ paths: summary: List All Possible Event Types tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/eventTypes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listEventTypes --help /api/atlas/v2/federationSettings/{federationSettingsId}: delete: description: 'Deletes the federation settings instance and all associated data, including identity providers and domains. To use this resource, the requesting API Key must have the Organization Owner role in the last remaining connected organization. **Note**: requests to this resource will fail if there is more than one connected organization in the federation.' @@ -30660,6 +30704,17 @@ paths: summary: Delete One Federation Settings Instance tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederationApp --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs: get: description: Returns all connected org configs in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected orgs. @@ -30690,6 +30745,17 @@ paths: summary: Return All Connected Org Configs from One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listConnectedOrgConfigs --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}: delete: description: 'Removes one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. Note: This request fails if only one connected organization exists in the federation.' @@ -30728,6 +30794,17 @@ paths: summary: Remove One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeConnectedOrgConfig --help get: description: Returns the specified connected org config from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. operationId: getConnectedOrgConfig @@ -30765,6 +30842,17 @@ paths: summary: Return One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getConnectedOrgConfig --help patch: description: "Updates one connected organization configuration from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. \n\n**Note** If the organization configuration has no associated identity provider, you can't use this resource to update role mappings or post authorization role grants. \n\n**Note**: The domainRestrictionEnabled field defaults to false if not provided in the request. \n\n**Note**: If the identityProviderId field is not provided, you will disconnect the organization and the identity provider. \n\n**Note**: Currently connected data access identity providers missing from the dataAccessIdentityProviderIds field will be disconnected." operationId: updateConnectedOrgConfig @@ -30809,6 +30897,18 @@ paths: summary: Update One Org Config Connected to One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateConnectedOrgConfig --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings: get: description: Returns all role mappings from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30838,6 +30938,17 @@ paths: summary: Return All Role Mappings from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listRoleMappings --help post: description: Adds one role mapping to the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createRoleMapping @@ -30873,6 +30984,18 @@ paths: summary: Add One Role Mapping to One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}: delete: description: Removes one role mapping in the specified organization from the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. @@ -30910,6 +31033,17 @@ paths: summary: Remove One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteRoleMapping --help get: description: Returns one role mapping from the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getRoleMapping @@ -30948,6 +31082,17 @@ paths: summary: Return One Role Mapping from One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRoleMapping --help put: description: Updates one role mapping in the specified organization in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateRoleMapping @@ -30993,6 +31138,18 @@ paths: summary: Update One Role Mapping in One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateRoleMapping --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders: get: description: Returns all identity providers with the provided protocol and type in the specified federation. If no protocol is specified, only SAML identity providers will be returned. If no idpType is specified, only WORKFORCE identity providers will be returned. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -31045,6 +31202,17 @@ paths: summary: Return All Identity Providers in One Federation tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIdentityProviders --help post: description: |- Creates one identity provider within the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -31084,6 +31252,18 @@ paths: summary: Create One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}: delete: description: "Deletes one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Requests to this resource will fail if the identity provider has any connected organizations. Before deleting an identity provider, disconnect all organizations and confirm that no organization in your account uses this identity provider. To learn more, see [Manage Organization Mapping for Federated Authentication](https://www.mongodb.com/docs/atlas/security/manage-org-mapping/)." @@ -31117,6 +31297,17 @@ paths: summary: Delete One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteIdentityProvider --help get: description: 'Returns one identity provider in the specified federation by the identity provider''s id. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. Deprecated versions: v2-{2023-01-01}' operationId: getIdentityProvider @@ -31153,6 +31344,17 @@ paths: summary: Return One Identity Provider by ID tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProvider --help patch: description: |- Updates one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -31197,6 +31399,18 @@ paths: summary: Update One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks: delete: description: "Revokes the JWKS tokens from the requested OIDC identity provider. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. \n\n**Note**: Revoking your JWKS tokens immediately refreshes your IdP public keys from all your Atlas clusters, invalidating previously signed access tokens and logging out all users. You may need to restart your MongoDB clients. All organizations connected to the identity provider will be affected. To learn more, see [Configure OIDC Authorization](https://www.mongodb.com/docs/atlas/security-oidc/#revoke-jwks)." @@ -31230,6 +31444,17 @@ paths: summary: Revoke the JWKS from One OIDC Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + - label: Atlas CLI + lang: cURL + source: atlas api revokeJwksFromIdentityProvider --help /api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml: get: description: Returns the metadata of one identity provider in the specified federation. To use this resource, the requesting API Key must have the Organization Owner role in one of the connected organizations. @@ -31258,6 +31483,17 @@ paths: summary: Return the Metadata of One Identity Provider tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIdentityProviderMetadata --help /api/atlas/v2/groups: get: description: Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Organization Read Only role or higher. @@ -31287,6 +31523,17 @@ paths: summary: Return All Projects tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjects --help post: description: Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Read Write role. operationId: createProject @@ -31333,6 +31580,18 @@ paths: summary: Create One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProject --help /api/atlas/v2/groups/{groupId}: delete: description: Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -31360,6 +31619,17 @@ paths: summary: Remove One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProject --help get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProject @@ -31386,6 +31656,17 @@ paths: summary: Return One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProject --help patch: description: Updates the human-readable label that identifies the specified project, or the tags associated with the project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProject @@ -31423,6 +31704,18 @@ paths: summary: Update One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProject --help /api/atlas/v2/groups/{groupId}/access: post: description: Adds one MongoDB Cloud user to the specified project. If the MongoDB Cloud user is not a member of the project's organization, then the user must accept their invitation to the organization to access information within the specified project. If the MongoDB Cloud User is already a member of the project's organization, then they will be added to the project immediately and an invitation will not be returned by this resource. To use this resource, the requesting API Key must have the Group User Admin role. @@ -31460,6 +31753,18 @@ paths: summary: Add One MongoDB Cloud User to One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/access" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addUserToProject --help /api/atlas/v2/groups/{groupId}/accessList: get: description: Returns all access list entries from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -31491,6 +31796,17 @@ paths: summary: Return Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectIpAccessLists --help post: description: Adds one or more access list entries to the specified project. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. Write each entry as either one IP address or one CIDR-notated block of IP addresses. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. This endpoint doesn't support concurrent `POST` requests. You must submit multiple `POST` requests synchronously. externalDocs: @@ -31534,6 +31850,18 @@ paths: summary: Add Entries to Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectIpAccessList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}: delete: description: Removes one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains one IP address, one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Owner role. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages the access list for MongoDB Cloud organizations. @@ -31577,6 +31905,17 @@ paths: summary: Remove One Entry from One Project IP Access List tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectIpAccessList --help get: description: Returns one access list entry from the specified project's IP access list. Each entry in the project's IP access list contains either one IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client connections to the cluster from entries in the project's IP access list. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles. This resource replaces the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`) manages the Project IP Access List. It doesn't manage the access list for MongoDB Cloud organizations. TheProgrammatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`) manages those access lists. externalDocs: @@ -31616,6 +31955,17 @@ paths: summary: Return One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpList --help /api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status: get: description: Returns the status of one project IP access list entry. This resource checks if the provided project IP access list entry applies to all cloud providers serving clusters from the specified project. @@ -31655,6 +32005,17 @@ paths: summary: Return Status of One Project IP Access List Entry tags: - Project IP Access List + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectIpAccessListStatus --help /api/atlas/v2/groups/{groupId}/alertConfigs: get: description: |- @@ -31686,6 +32047,17 @@ paths: summary: Return All Alert Configurations for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurations --help post: description: |- 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. @@ -31722,6 +32094,18 @@ paths: summary: Create One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}: delete: description: |- @@ -31760,6 +32144,17 @@ paths: summary: Remove One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAlertConfiguration --help get: description: |- Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -31799,6 +32194,17 @@ paths: summary: Return One Alert Configuration from One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlertConfiguration --help patch: description: |- 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. @@ -31847,6 +32253,18 @@ paths: summary: Toggle One State of One Alert Configuration in One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAlertConfiguration --help put: description: |- 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. @@ -31897,6 +32315,18 @@ paths: summary: Update One Alert Configuration for One Project tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAlertConfiguration --help /api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts: get: description: |- @@ -31940,6 +32370,17 @@ paths: summary: Return All Open Alerts for Alert Configuration tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertsByAlertConfigurationId --help /api/atlas/v2/groups/{groupId}/alerts: get: description: |- @@ -31982,6 +32423,17 @@ paths: summary: Return All Alerts from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlerts --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}: get: description: |- @@ -32021,6 +32473,17 @@ paths: summary: Return One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAlert --help patch: description: |- 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. @@ -32068,6 +32531,18 @@ paths: summary: Acknowledge One Alert from One Project tags: - Alerts + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api acknowledgeAlert --help /api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs: get: description: |- @@ -32110,6 +32585,17 @@ paths: summary: Return All Alert Configurations Set for One Alert tags: - Alert Configurations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAlertConfigurationsByAlertId --help /api/atlas/v2/groups/{groupId}/apiKeys: get: description: Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. @@ -32141,6 +32627,17 @@ paths: summary: Return All Organization API Keys Assigned to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectApiKeys --help post: description: Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: createProjectApiKey @@ -32172,6 +32669,18 @@ paths: summary: Create and Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectApiKey --help /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -32211,6 +32720,17 @@ paths: summary: Unassign One Organization API Key from One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectApiKey --help patch: description: Updates the roles of the organization API key that you specify for the project that you specify. You must specify at least one valid role for the project. The application removes any roles that you do not include in this request if they were previously set in the organization API key that you specify for the project. operationId: updateApiKeyRoles @@ -32256,6 +32776,18 @@ paths: summary: Update Roles of One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKeyRoles --help post: description: Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project Owner role. operationId: addProjectApiKey @@ -32298,6 +32830,18 @@ paths: summary: Assign One Organization API Key to One Project tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectApiKey --help /api/atlas/v2/groups/{groupId}/auditLog: get: description: 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. @@ -32323,6 +32867,17 @@ paths: summary: Return the Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAuditingConfiguration --help patch: description: 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. operationId: updateAuditingConfiguration @@ -32356,6 +32911,18 @@ paths: summary: Update Auditing Configuration for One Project tags: - Auditing + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAuditingConfiguration --help /api/atlas/v2/groups/{groupId}/awsCustomDNS: get: description: 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. @@ -32381,6 +32948,17 @@ paths: summary: Return One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAWSCustomDNS --help patch: description: 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. operationId: toggleAWSCustomDNS @@ -32412,6 +32990,18 @@ paths: summary: Toggle State of One Custom DNS Configuration for Atlas Clusters on AWS tags: - AWS Clusters DNS + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleAWSCustomDNS --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets: get: description: 'Returns all AWS S3 buckets and Azure Blob Storage Containers 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}' @@ -32440,6 +33030,17 @@ paths: summary: Return All AWS S3 Buckets and Azure Blob Storage Containers Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listExportBuckets --help post: description: 'Grants MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This enables this Export Bucket to receive Atlas Cloud Backup Snapshots. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}' operationId: createExportBucket @@ -32514,6 +33115,18 @@ paths: summary: Grant Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createExportBucket --help /api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}: delete: description: Revoke MongoDB Cloud access to the specified AWS S3 Bucket or Azure Blob Storage Container. This prevents this Export Bucket from receiving Atlas Cloud Backup Snapshots. 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 Owner role. @@ -32552,6 +33165,17 @@ paths: summary: Revoke Access to AWS S3 Bucket or Azure Blob Storage Container for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteExportBucket --help get: description: 'Returns one AWS S3 Bucket or Azure Blob Storage Container 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}' operationId: getExportBucket @@ -32610,6 +33234,17 @@ paths: summary: Return One AWS S3 Bucket or Azure Blob Storage Container Used for Cloud Backup Snapshot Exports tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getExportBucket --help /api/atlas/v2/groups/{groupId}/backupCompliancePolicy: get: description: '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}' @@ -32637,6 +33272,17 @@ paths: summary: Return the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataProtectionSettings --help put: description: '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}' operationId: updateDataProtectionSettings @@ -32679,6 +33325,18 @@ paths: summary: Update or enable the Backup Compliance Policy settings tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDataProtectionSettings --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess: get: description: 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. @@ -32704,6 +33362,17 @@ paths: summary: Return All Cloud Provider Access Roles tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderAccessRoles --help post: description: 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. externalDocs: @@ -32738,6 +33407,18 @@ paths: summary: Create One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}: delete: description: Revokes access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. @@ -32780,6 +33461,17 @@ paths: summary: Deauthorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + - label: Atlas CLI + lang: cURL + source: atlas api deauthorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}: get: description: 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. @@ -32814,6 +33506,17 @@ paths: summary: Return specified Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCloudProviderAccessRole --help patch: description: Grants access to the specified project for the specified access role. To use this resource, the requesting API Key must have the Project Owner role. This API endpoint is one step in a procedure to create unified access for MongoDB Cloud services. externalDocs: @@ -32861,6 +33564,18 @@ paths: summary: Authorize One Cloud Provider Access Role tags: - Cloud Provider Access + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api authorizeCloudProviderAccessRole --help /api/atlas/v2/groups/{groupId}/clusters: get: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -32895,6 +33610,17 @@ paths: summary: Return All Clusters in One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listClusters --help post: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' operationId: createCluster @@ -33062,6 +33788,18 @@ paths: summary: Create One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}: delete: description: '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. Deprecated versions: v2-{2023-01-01}' @@ -33105,6 +33843,17 @@ paths: summary: Remove One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCluster --help get: description: '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. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' operationId: getCluster @@ -33142,6 +33891,17 @@ paths: summary: Return One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCluster --help patch: description: '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-{2023-02-01}, v2-{2023-01-01}' operationId: updateCluster @@ -33189,6 +33949,18 @@ paths: summary: Modify One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency cluster-level measurements for the given namespace. @@ -33277,6 +34049,17 @@ paths: summary: Return Cluster-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces: get: description: Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window. @@ -33323,6 +34106,17 @@ paths: summary: Return Ranked Namespaces from a Cluster tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForCluster --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports: get: description: 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. @@ -33360,6 +34154,17 @@ paths: summary: Return All Cloud Backup Snapshot Export Jobs tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupExportJobs --help post: description: 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. operationId: createBackupExportJob @@ -33405,6 +34210,18 @@ paths: summary: Create One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}: get: description: 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. @@ -33444,6 +34261,17 @@ paths: summary: Return One Cloud Backup Snapshot Export Job tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupExportJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs: get: description: 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 Owner role. @@ -33481,6 +34309,17 @@ paths: summary: Return All Restore Jobs for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listBackupRestoreJobs --help post: description: |- 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. @@ -33530,6 +34369,18 @@ paths: summary: Restore One Snapshot of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}: delete: description: 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 Owner role. @@ -33575,6 +34426,17 @@ paths: summary: Cancel One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + - label: Atlas CLI + lang: cURL + source: atlas api cancelBackupRestoreJob --help get: description: 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 Owner role. operationId: getBackupRestoreJob @@ -33617,6 +34479,17 @@ paths: summary: Return One Restore Job of One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule: delete: description: '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}' @@ -33652,6 +34525,17 @@ paths: summary: Remove All Cloud Backup Schedules tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllBackupSchedules --help get: description: '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}' operationId: getBackupSchedule @@ -33685,6 +34569,17 @@ paths: summary: Return One Cloud Backup Schedule tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getBackupSchedule --help patch: description: '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}' operationId: updateBackupSchedule @@ -33730,6 +34625,18 @@ paths: summary: Update Cloud Backup Schedule for One Cluster tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateBackupSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots: get: description: 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. @@ -33769,6 +34676,17 @@ paths: summary: Return All Replica Set Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listReplicaSetBackups --help post: description: |- 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. @@ -33814,6 +34732,18 @@ paths: summary: Take One On-Demand Snapshot tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api takeSnapshot --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}: delete: description: Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Owner role. @@ -33859,6 +34789,17 @@ paths: summary: Remove One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteReplicaSetBackup --help get: description: Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getReplicaSetBackup @@ -33903,6 +34844,17 @@ paths: summary: Return One Replica Set Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getReplicaSetBackup --help patch: description: Changes the expiration date for one cloud backup snapshot for one cluster in the specified project. operationId: updateSnapshotRetention @@ -33954,6 +34906,18 @@ paths: summary: Change Expiration Date for One Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateSnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}: delete: description: Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -33997,6 +34961,17 @@ paths: summary: Remove One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteShardedClusterBackup --help get: description: 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. operationId: getShardedClusterBackup @@ -34041,6 +35016,17 @@ paths: summary: Return One Sharded Cluster Cloud Backup tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getShardedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters: get: description: 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. @@ -34077,6 +35063,17 @@ paths: summary: Return All Sharded Cluster Cloud Backups tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listShardedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download: post: description: Requests one snapshot for the specified shared cluster. This resource returns a `snapshotURL` that you can use to download the snapshot. This `snapshotURL` remains active for four hours after you make the request. To use this resource, the requesting API Key must have the Project Owner role. @@ -34126,6 +35123,18 @@ paths: summary: Download One M2 or M5 Cluster Snapshot tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api downloadSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore: post: description: Restores the specified cluster. MongoDB Cloud limits which clusters can be the target clusters of a restore. The target cluster can't use encryption at rest, run a major release MongoDB version different than the snapshot, or receive client requests during restores. MongoDB Cloud deletes all existing data on the target cluster prior to the restore operation. To use this resource, the requesting API Key must have the Project Owner role. @@ -34173,6 +35182,18 @@ paths: summary: Create One Restore Job from One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores: get: description: Returns all restore jobs for the specified M2 or M5 cluster. Restore jobs restore a cluster using a snapshot. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34209,6 +35230,17 @@ paths: summary: Return All Restore Jobs for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackupRestoreJobs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}: get: description: Returns the specified restore job. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34254,6 +35286,17 @@ paths: summary: Return One Restore Job for One M2 or M5 Cluster tags: - Shared-Tier Restore Jobs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots: get: description: Returns details for all snapshots for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34290,6 +35333,17 @@ paths: summary: Return All Snapshots for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSharedClusterBackups --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}: get: description: Returns details for one snapshot for the specified shared cluster. To use this resource, the requesting API Key must have the Project Read Only role. @@ -34335,6 +35389,17 @@ paths: summary: Return One Snapshot for One M2 or M5 Cluster tags: - Shared-Tier Snapshots + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSharedClusterBackup --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints: get: deprecated: true @@ -34373,6 +35438,17 @@ paths: summary: Return All Legacy Backup Checkpoints tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupCheckpoints --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}: get: deprecated: true @@ -34421,6 +35497,17 @@ paths: summary: Return One Legacy Backup Checkpoint tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupCheckpoint --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned: get: description: Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on. @@ -34458,6 +35545,17 @@ paths: summary: Return Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPinnedNamespaces --help patch: description: Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster operationId: pinNamespacesPatch @@ -34508,6 +35606,18 @@ paths: summary: Add Pinned Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPatch --help put: description: 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. operationId: pinNamespacesPut @@ -34558,6 +35668,18 @@ paths: summary: Pin Namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinNamespacesPut --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin: patch: description: Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster @@ -34602,6 +35724,18 @@ paths: summary: Unpin namespaces tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinNamespaces --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes: post: deprecated: true @@ -34651,6 +35785,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}: get: @@ -34704,6 +35850,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}: delete: @@ -34754,6 +35911,17 @@ paths: summary: Remove One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" get: deprecated: true @@ -34801,6 +35969,17 @@ paths: summary: Return One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" patch: deprecated: true @@ -34859,6 +36038,18 @@ paths: summary: Update One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexDeprecated --help x-sunset: "2025-06-01" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites: get: @@ -34897,6 +36088,17 @@ paths: summary: Return One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedNamespace --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping: delete: description: 'Removes all custom zone mappings for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. Removing the custom zone mappings restores the default mapping. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -34934,6 +36136,17 @@ paths: summary: Remove All Custom Zone Mappings from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAllCustomZoneMappings --help post: description: 'Creates one custom zone mapping for the specified global cluster. A custom zone mapping matches one ISO 3166-2 location code to a zone in your global cluster. By default, MongoDB Cloud maps each location code to the closest geographical zone. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' externalDocs: @@ -34980,6 +36193,18 @@ paths: summary: Add One Entry to One Custom Zone Mapping tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomZoneMapping --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces: delete: description: 'Removes one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. Deleting a managed namespace does not remove the associated collection or data. To use this resource, the requesting API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' @@ -35029,6 +36254,17 @@ paths: summary: Remove One Managed Namespace from One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + - label: Atlas CLI + lang: cURL + source: atlas api deleteManagedNamespace --help post: description: 'Creates one managed namespace within the specified global cluster. A managed namespace identifies a collection using the database name, the dot separator, and the collection name. To use this resource, the requesting API Key must have the Project Data Access Admin role. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}' externalDocs: @@ -35077,6 +36313,18 @@ paths: summary: Create One Managed Namespace in One Global Cluster tags: - Global Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createManagedNamespace --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index: post: description: Creates an index on the cluster identified by its name in a rolling manner. Creating the index in this way allows index builds on one replica set member as a standalone at a time, starting with the secondary members. Creating indexes in this way requires at least one replica set election. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -35186,6 +36434,18 @@ paths: summary: Create One Rolling Index tags: - Rolling Index + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createRollingIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives: get: description: Returns details of all online archives. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -35226,6 +36486,17 @@ paths: summary: Return All Online Archives for One Cluster tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOnlineArchives --help post: description: Creates one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -35275,6 +36546,18 @@ paths: summary: Create One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}: delete: description: Removes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. @@ -35323,6 +36606,17 @@ paths: summary: Remove One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOnlineArchive --help get: description: Returns one online archive for one cluster. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Read Only role. externalDocs: @@ -35372,6 +36666,17 @@ paths: summary: Return One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOnlineArchive --help patch: description: Updates, pauses, or resumes one online archive. This archive stores data from one cluster within one project. To use this resource, the requesting API Key must have the Project Data Access Admin role. externalDocs: @@ -35430,6 +36735,18 @@ paths: summary: Update One Online Archive tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOnlineArchive --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: 'Downloads query logs for the specified online archive. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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".' @@ -35494,6 +36811,17 @@ paths: summary: Download Online Archive Query Logs tags: - Online Archive + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadOnlineArchiveQueryLogs --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation: delete: description: Ends a cluster outage simulation. @@ -35535,6 +36863,17 @@ paths: summary: End an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + - label: Atlas CLI + lang: cURL + source: atlas api endOutageSimulation --help get: description: Returns one outage simulation for one cluster. externalDocs: @@ -35575,6 +36914,17 @@ paths: summary: Return One Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOutageSimulation --help post: description: Starts a cluster outage simulation. externalDocs: @@ -35620,6 +36970,18 @@ paths: summary: Start an Outage Simulation tags: - Cluster Outage Simulation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startOutageSimulation --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs: get: description: '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, or serverless clusters. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}' @@ -35659,6 +37021,17 @@ paths: summary: Return One Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterAdvancedConfiguration --help patch: description: '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, or serverless clusters. Deprecated versions: v2-{2023-01-01}' externalDocs: @@ -35707,6 +37080,18 @@ paths: summary: Update Advanced Configuration Options for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateClusterAdvancedConfiguration --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries: post: description: '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}' @@ -35739,6 +37124,18 @@ paths: summary: Test Failover for One Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api testFailover --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs: get: deprecated: true @@ -35790,6 +37187,17 @@ paths: summary: Return All Legacy Backup Restore Jobs tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacyBackupRestoreJobs --help post: deprecated: true description: Restores one legacy backup for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). This endpoint doesn't support creating checkpoint restore jobs for sharded clusters, or creating restore jobs for queryable backup snapshots. If you create an automated restore job by specifying `delivery.methodName` of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing data on the target cluster prior to the restore. @@ -35833,6 +37241,18 @@ paths: summary: Create One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}: get: deprecated: true @@ -35882,6 +37302,17 @@ paths: summary: Return One Legacy Backup Restore Job tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacyBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment: delete: description: Deletes the Search Nodes for the specified cluster. @@ -35920,6 +37351,17 @@ paths: summary: Delete Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchDeployment --help get: description: 'Return the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: getAtlasSearchDeployment @@ -35955,6 +37397,17 @@ paths: summary: Return Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchDeployment --help patch: description: 'Updates the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}' operationId: updateAtlasSearchDeployment @@ -35999,6 +37452,18 @@ paths: summary: Update Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchDeployment --help post: description: Creates Search Nodes for the specified cluster. operationId: createAtlasSearchDeployment @@ -36043,6 +37508,18 @@ paths: summary: Create Search Nodes tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchDeployment --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes: get: description: 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. @@ -36090,6 +37567,17 @@ paths: summary: Return All Atlas Search Indexes for One Cluster tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexesCluster --help post: description: 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. externalDocs: @@ -36137,6 +37625,18 @@ paths: summary: Create One Atlas Search Index tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}: get: description: 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. @@ -36196,6 +37696,17 @@ paths: summary: Return All Atlas Search Indexes for One Collection tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasSearchIndexes --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}: delete: description: 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. @@ -36253,6 +37764,17 @@ paths: summary: Remove One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndexByName --help get: description: 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. externalDocs: @@ -36309,6 +37831,17 @@ paths: summary: Return One Atlas Search Index by Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndexByName --help patch: description: 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. externalDocs: @@ -36374,6 +37907,18 @@ paths: summary: Update One Atlas Search Index By Name tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndexByName --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}: delete: description: 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. @@ -36422,6 +37967,17 @@ paths: summary: Remove One Atlas Search Index by Id tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteAtlasSearchIndex --help get: description: 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. externalDocs: @@ -36475,6 +38031,17 @@ paths: summary: Return One Atlas Search Index by ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasSearchIndex --help patch: description: 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. externalDocs: @@ -36531,6 +38098,18 @@ paths: summary: Update One Atlas Search Index By ID tags: - Atlas Search + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateAtlasSearchIndex --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule: get: deprecated: true @@ -36569,6 +38148,17 @@ paths: summary: Return One Snapshot Schedule tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshotSchedule --help patch: deprecated: true description: |- @@ -36613,6 +38203,18 @@ paths: summary: Update Snapshot Schedule for One Cluster tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotSchedule --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots: get: deprecated: true @@ -36661,6 +38263,17 @@ paths: summary: Return All Legacy Backup Snapshots tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listLegacySnapshots --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}: delete: deprecated: true @@ -36707,6 +38320,17 @@ paths: summary: Remove One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLegacySnapshot --help get: deprecated: true description: Returns one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -36750,6 +38374,17 @@ paths: summary: Return One Legacy Backup Snapshot tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLegacySnapshot --help patch: deprecated: true description: Changes the expiration date for one legacy backup snapshot for one cluster in the specified project. To use this resource, the requesting API Key must have the Project Owner role. Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule). @@ -36800,6 +38435,18 @@ paths: summary: Change One Legacy Backup Snapshot Expiration tags: - Legacy Backup + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateLegacySnapshotRetention --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status: get: description: 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. @@ -36834,6 +38481,17 @@ paths: summary: Return Status of All Cluster Operations tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getClusterStatus --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion: post: description: Pins the FCV to the current MongoDB version. @@ -36881,6 +38539,18 @@ paths: summary: Pin FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion: post: description: Unpins the current fixed Feature Compatibility Version. This feature is not available for clusters on rapid release. @@ -36923,6 +38593,18 @@ paths: summary: Unpins FCV for One Cluster from One Project tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api unpinFeatureCompatibilityVersion --help /api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz: get: description: 'Returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project. MongoDB updates process and audit logs from the cluster backend infrastructure every five minutes and contain log data from the previous five minutes. If you poll the API for log files, we recommend polling every five minutes. For example, if the logs are updated at 4:00 UTC and then you poll the API, the API returns log data from the interval between 3:55 UTC and 4:00 UTC. This feature isn''t available for `M0` free clusters, `M2`, `M5`, or serverless clusters. To use this resource, the requesting API Key must have the Project Data Access Read Only or higher role. 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". Deprecated versions: v2-{2023-01-01}' @@ -36992,6 +38674,17 @@ paths: summary: Download Logs for One Cluster Host in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostLogs --help /api/atlas/v2/groups/{groupId}/clusters/provider/regions: get: description: 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. @@ -37032,6 +38725,17 @@ paths: summary: Return All Cloud Provider Regions tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCloudProviderRegions --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade: post: description: Upgrades a shared-tier cluster in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. Each project supports up to 25 clusters. @@ -37072,6 +38776,18 @@ paths: summary: Upgrade One Shared-tier Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedCluster --help /api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless: post: description: Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting API key must have the Project Cluster Manager role. @@ -37112,6 +38828,18 @@ paths: summary: Upgrades One Shared-Tier Cluster to the Serverless Instance tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api upgradeSharedClusterToServerless --help /api/atlas/v2/groups/{groupId}/collStats/metrics: get: description: Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request. @@ -37140,6 +38868,17 @@ paths: summary: Return all metric names tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceMetrics --help /api/atlas/v2/groups/{groupId}/containers: get: description: Returns details about all network peering containers in the specified project for the specified cloud provider. If you do not specify the cloud provider, MongoDB Cloud returns details about all network peering containers in the project for Amazon Web Services (AWS). To use this resource, the requesting API Key must have the Project Read Only role. @@ -37181,6 +38920,17 @@ paths: summary: Return All Network Peering Containers in One Project for One Cloud Provider tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainerByCloudProvider --help post: description: Creates one new network peering container in the specified project. MongoDB Cloud can deploy Network Peering connections in a network peering container. GCP can have one container per project. AWS and Azure can have one container per cloud provider region. To use this resource, the requesting API Key must have the Project Owner role. operationId: createPeeringContainer @@ -37220,6 +38970,18 @@ paths: summary: Create One New Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/containers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/{containerId}: delete: description: Removes one network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -37261,6 +39023,17 @@ paths: summary: Remove One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringContainer --help get: description: Returns details about one network peering container in one specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringContainer @@ -37295,6 +39068,17 @@ paths: summary: Return One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringContainer --help patch: description: Updates the network details and labels of one specified network peering container in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringContainer @@ -37344,6 +39128,18 @@ paths: summary: Update One Network Peering Container tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringContainer --help /api/atlas/v2/groups/{groupId}/containers/all: get: description: Returns details about all network peering containers in the specified project. Network peering containers contain network peering connections. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37372,6 +39168,17 @@ paths: summary: Return All Network Peering Containers in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringContainers --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles: get: description: Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -37399,6 +39206,17 @@ paths: summary: Return All Custom Roles in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listCustomDatabaseRoles --help post: description: Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createCustomDatabaseRole @@ -37438,6 +39256,18 @@ paths: summary: Create One Custom Role tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}: delete: description: 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 Atlas Admin role. @@ -37473,6 +39303,17 @@ paths: summary: Remove One Custom Role from One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteCustomDatabaseRole --help get: description: Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getCustomDatabaseRole @@ -37505,6 +39346,17 @@ paths: summary: Return One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCustomDatabaseRole --help patch: description: Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateCustomDatabaseRole @@ -37550,6 +39402,18 @@ paths: summary: Update One Custom Role in One Project tags: - Custom Database Roles + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateCustomDatabaseRole --help /api/atlas/v2/groups/{groupId}/dataFederation: get: description: 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. @@ -37586,6 +39450,17 @@ paths: summary: Return All Federated Database Instances in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listFederatedDatabases --help post: description: 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. operationId: createFederatedDatabase @@ -37623,6 +39498,18 @@ paths: summary: Create One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}: delete: description: 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. @@ -37654,6 +39541,17 @@ paths: summary: Remove One Federated Database Instance from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteFederatedDatabase --help get: description: 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. operationId: getFederatedDatabase @@ -37687,6 +39585,17 @@ paths: summary: Return One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederatedDatabase --help patch: description: 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. operationId: updateFederatedDatabase @@ -37732,6 +39641,18 @@ paths: summary: Update One Federated Database Instance in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateFederatedDatabase --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits: get: description: 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. @@ -37767,6 +39688,17 @@ paths: summary: Return All Query Limits for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimits --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}: delete: description: Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -37816,6 +39748,17 @@ paths: summary: Delete One Query Limit For One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOneDataFederationInstanceQueryLimit --help get: description: 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. operationId: returnFederatedDatabaseQueryLimit @@ -37865,6 +39808,17 @@ paths: summary: Return One Federated Database Instance Query Limit for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnFederatedDatabaseQueryLimit --help patch: description: 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. operationId: createOneDataFederationQueryLimit @@ -37924,6 +39878,18 @@ paths: summary: Configure One Query Limit for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOneDataFederationQueryLimit --help /api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz: get: description: '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".' @@ -37979,6 +39945,17 @@ paths: summary: Download Query Logs for One Federated Database Instance tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadFederatedDatabaseQueryLogs --help /api/atlas/v2/groups/{groupId}/databaseUsers: get: description: 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. @@ -38007,6 +39984,17 @@ paths: summary: Return All Database Users from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUsers --help post: description: 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](https://cloud.mongodb.com/support). To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: createDatabaseUser @@ -38137,6 +40125,18 @@ paths: summary: Create One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}: delete: description: Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38192,6 +40192,17 @@ paths: summary: Remove One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDatabaseUser --help get: description: 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. operationId: getDatabaseUser @@ -38244,6 +40255,17 @@ paths: summary: Return One Database User from One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseUser --help patch: description: Updates one database user that belongs to the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles. operationId: updateDatabaseUser @@ -38309,6 +40331,18 @@ paths: summary: Update One Database User in One Project tags: - Database Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateDatabaseUser --help /api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs: get: description: Returns all unexpired X.509 certificates for the specified MongoDB user. This MongoDB user belongs to one project. Atlas manages these certificates and the MongoDB user. To use this resource, the requesting API Key must have the Project Read Only role. @@ -38345,6 +40379,17 @@ paths: summary: Return All X.509 Certificates Assigned to One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabaseUserCertificates --help post: description: |- Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting API Key must have the Project Owner role. @@ -38399,6 +40444,18 @@ paths: summary: Create One X.509 Certificate for One MongoDB User tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDatabaseUserCertificate --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}: get: description: 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. @@ -38470,6 +40527,17 @@ paths: summary: Return Database Access History for One Cluster using Its Cluster Name tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByClusterName --help /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}: get: description: 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. @@ -38538,6 +40606,17 @@ paths: summary: Return Database Access History for One Cluster using Its Hostname tags: - Access Tracking + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAccessLogsByHostname --help /api/atlas/v2/groups/{groupId}/encryptionAtRest: get: description: |- @@ -38566,6 +40645,17 @@ paths: summary: Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRest --help patch: description: |- Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters. @@ -38615,6 +40705,18 @@ paths: summary: Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateEncryptionAtRest --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints: get: description: Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management. @@ -38648,6 +40750,17 @@ paths: summary: Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help post: description: Creates a private endpoint in the specified region for encryption at rest using customer key management. operationId: createEncryptionAtRestPrivateEndpoint @@ -38687,6 +40800,18 @@ paths: summary: Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}: delete: description: Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. @@ -38736,6 +40861,17 @@ paths: summary: Delete Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help get: description: Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management. operationId: getEncryptionAtRestPrivateEndpoint @@ -38777,6 +40913,17 @@ paths: summary: Return One Private Endpoint for Encryption at Rest Using Customer Key Management tags: - Encryption at Rest using Customer Key Management + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getEncryptionAtRestPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/events: get: description: |- @@ -38859,6 +41006,17 @@ paths: summary: Return All Events from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectEvents --help /api/atlas/v2/groups/{groupId}/events/{eventId}: get: description: |- @@ -38904,6 +41062,17 @@ paths: summary: Return One Event from One Project tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectEvent --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics: get: description: Returns all Atlas Search metric types available for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38931,6 +41100,17 @@ paths: summary: Return All Atlas Search Metric Types for One Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listMetricTypes --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements: get: description: Returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -38988,6 +41168,17 @@ paths: summary: Return Atlas Search Metrics for One Index in One Specified Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements: get: description: Returns the Atlas Search index metrics within the specified time range for one namespace in the specified process. @@ -39044,6 +41235,17 @@ paths: summary: Return All Atlas Search Index Metrics for One Namespace tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listIndexMetrics --help /api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements: get: description: Returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project. You must have the Project Read Only or higher role to view the Atlas Search metric types. @@ -39099,6 +41301,17 @@ paths: summary: Return Atlas Search Hardware and Status Metrics tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMeasurements --help /api/atlas/v2/groups/{groupId}/integrations: get: description: Returns the settings that permit integrations with all configured third-party services. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -39131,6 +41344,17 @@ paths: summary: Return All Active Third-Party Service Integrations tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listThirdPartyIntegrations --help /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. @@ -39178,6 +41402,17 @@ paths: summary: Remove One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteThirdPartyIntegration --help get: description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: getThirdPartyIntegration @@ -39224,6 +41459,17 @@ paths: summary: Return One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getThirdPartyIntegration --help post: description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: createThirdPartyIntegration @@ -39282,6 +41528,18 @@ paths: summary: Configure One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createThirdPartyIntegration --help put: description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role. operationId: updateThirdPartyIntegration @@ -39338,6 +41596,18 @@ paths: summary: Update One Third-Party Service Integration tags: - Third-Party Integrations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateThirdPartyIntegration --help /api/atlas/v2/groups/{groupId}/invites: get: deprecated: true @@ -39372,6 +41642,17 @@ paths: summary: Return All Project Invitations tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectInvitations --help x-sunset: "2024-10-04" patch: deprecated: true @@ -39409,6 +41690,18 @@ paths: summary: Update One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitation --help x-sunset: "2024-10-04" post: deprecated: true @@ -39442,6 +41735,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectInvitation --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: @@ -39477,6 +41782,17 @@ paths: summary: Cancel One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectInvitation --help x-sunset: "2024-10-04" get: deprecated: true @@ -39514,6 +41830,17 @@ paths: summary: Return One Project Invitation tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectInvitation --help x-sunset: "2024-10-04" patch: deprecated: true @@ -39559,6 +41886,18 @@ paths: summary: Update One Project Invitation by Invitation ID tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectInvitationById --help x-sunset: "2024-10-04" /api/atlas/v2/groups/{groupId}/ipAddresses: get: @@ -39587,6 +41926,17 @@ paths: summary: Return All IP Addresses for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllIPAddresses --help /api/atlas/v2/groups/{groupId}/limits: get: description: Returns all the limits for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -39620,6 +41970,17 @@ paths: summary: Return All Limits for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectLimits --help /api/atlas/v2/groups/{groupId}/limits/{limitName}: delete: description: Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting API Key must have the Project Owner role. @@ -39685,6 +42046,17 @@ paths: summary: Remove One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectLimit --help get: description: Returns the specified limit for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getProjectLimit @@ -39751,6 +42123,17 @@ paths: summary: Return One Limit for One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLimit --help patch: description: |- Sets the specified project limit. To use this resource, the requesting API Key must have the Project Owner role. @@ -39827,6 +42210,18 @@ paths: summary: Set One Project Limit tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setProjectLimit --help /api/atlas/v2/groups/{groupId}/liveMigrations: post: description: |- @@ -39873,6 +42268,18 @@ paths: summary: Migrate One Local Managed Cluster to MongoDB Atlas tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}: get: description: 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. @@ -39903,6 +42310,17 @@ paths: summary: Return One Migration Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover: put: description: 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. @@ -39933,6 +42351,18 @@ paths: summary: Cut Over the Migrated Cluster tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api cutoverMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate: post: description: '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}' @@ -39972,6 +42402,18 @@ paths: summary: Validate One Migration Request tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api validateMigration --help /api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}: get: description: Return the status of one migration validation job. Your API Key must have the Organization Owner role to successfully call this resource. @@ -40012,6 +42454,17 @@ paths: summary: Return One Migration Validation Job tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getValidationStatus --help /api/atlas/v2/groups/{groupId}/maintenanceWindow: delete: description: Resets the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -40036,6 +42489,17 @@ paths: summary: Reset One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + - label: Atlas CLI + lang: cURL + source: atlas api resetMaintenanceWindow --help get: description: Returns the maintenance window for the specified project. MongoDB Cloud starts those maintenance activities when needed. You can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: getMaintenanceWindow @@ -40060,6 +42524,17 @@ paths: summary: Return One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getMaintenanceWindow --help patch: description: Updates the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateMaintenanceWindow @@ -40092,6 +42567,18 @@ paths: summary: Update Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer: post: description: Toggles automatic deferral of the maintenance window for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -40116,6 +42603,18 @@ paths: summary: Toggle Automatic Deferral of Maintenance for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleMaintenanceAutoDefer --help /api/atlas/v2/groups/{groupId}/maintenanceWindow/defer: post: description: Defers the maintenance window for the specified project. Urgent maintenance activities such as security patches can't wait for your chosen window. MongoDB Cloud starts those maintenance activities when needed. After you schedule maintenance for your cluster, you can't change your maintenance window until the current maintenance efforts complete. The maintenance procedure that MongoDB Cloud performs requires at least one replica set election during the maintenance window per replica set. Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or unexpected system issues could delay the start time. To use this resource, the requesting API Key must have the Project Owner role. @@ -40140,6 +42639,18 @@ paths: summary: Defer One Maintenance Window for One Project tags: - Maintenance Windows + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api deferMaintenanceWindow --help /api/atlas/v2/groups/{groupId}/managedSlowMs: get: description: Get whether the Managed Slow MS feature is enabled. @@ -40165,6 +42676,17 @@ paths: summary: Return Managed Slow MS enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getManagedSlowMs --help /api/atlas/v2/groups/{groupId}/managedSlowMs/disable: delete: description: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -40190,6 +42712,17 @@ paths: summary: Disable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + - label: Atlas CLI + lang: cURL + source: atlas api disableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/managedSlowMs/enable: post: description: Enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. To use this resource, the requesting API Key must have the Project Owner role. @@ -40215,6 +42748,18 @@ paths: summary: Enable Managed Slow Operation Threshold tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api enableSlowOperationThresholding --help /api/atlas/v2/groups/{groupId}/mongoDBVersions: get: description: Returns the MongoDB Long Term Support Major Versions available to new clusters in this project. @@ -40281,6 +42826,17 @@ paths: summary: Return Available MongoDB LTS Versions for clusters in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectLTSVersions --help /api/atlas/v2/groups/{groupId}/peers: get: description: Returns details about all network peering connections in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40321,6 +42877,17 @@ paths: summary: Return All Network Peering Connections in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPeeringConnections --help post: description: Creates one new network peering connection in the specified project. Network peering allows multiple cloud-hosted applications to securely connect to the same project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations and prerequisites, see the Network Peering Documentation. externalDocs: @@ -40361,6 +42928,18 @@ paths: summary: Create One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/peers" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPeeringConnection --help /api/atlas/v2/groups/{groupId}/peers/{peerId}: delete: description: Removes one network peering connection in the specified project. If you Removes the last network peering connection associated with a project, MongoDB Cloud also removes any AWS security groups from the project IP access list. To use this resource, the requesting API Key must have the Project Owner role. @@ -40397,6 +42976,17 @@ paths: summary: Remove One Existing Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePeeringConnection --help get: description: Returns details about one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPeeringConnection @@ -40432,6 +43022,17 @@ paths: summary: Return One Network Peering Connection in One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPeeringConnection --help patch: description: Updates one specified network peering connection in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updatePeeringConnection @@ -40478,6 +43079,18 @@ paths: summary: Update One New Network Peering Connection tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePeeringConnection --help /api/atlas/v2/groups/{groupId}/pipelines: get: description: Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40506,6 +43119,17 @@ paths: summary: Return All Data Lake Pipelines from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelines --help post: description: Creates one Data Lake Pipeline. operationId: createPipeline @@ -40540,6 +43164,18 @@ paths: summary: Create One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}: delete: description: Removes one Data Lake Pipeline. @@ -40575,6 +43211,17 @@ paths: summary: Remove One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipeline --help get: description: 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. operationId: getPipeline @@ -40610,6 +43257,17 @@ paths: summary: Return One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipeline --help patch: description: Updates one Data Lake Pipeline. operationId: updatePipeline @@ -40655,6 +43313,18 @@ paths: summary: Update One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules: get: description: 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. @@ -40693,6 +43363,17 @@ paths: summary: Return Available Ingestion Schedules for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSchedules --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots: get: description: 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. @@ -40708,7 +43389,7 @@ paths: in: query name: completedAfter schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -40739,6 +43420,17 @@ paths: summary: Return Available Backup Snapshots for One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineSnapshots --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause: post: description: 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. @@ -40775,6 +43467,18 @@ paths: summary: Pause One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api pausePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume: post: description: 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. @@ -40811,6 +43515,18 @@ paths: summary: Resume One Data Lake Pipeline tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api resumePipeline --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs: get: description: Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role. @@ -40826,7 +43542,7 @@ paths: in: query name: createdBefore schema: - example: "2022-01-01T00:00:00Z" + example: "2022-01-01T00:00:00.000Z" format: date-time type: string - description: Human-readable label that identifies the Data Lake Pipeline. @@ -40857,6 +43573,17 @@ paths: summary: Return All Data Lake Pipeline Runs from One Project tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPipelineRuns --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}: delete: description: Deletes dataset that Atlas generated during the specified pipeline run. @@ -40903,6 +43630,17 @@ paths: summary: Delete Pipeline Run Dataset tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePipelineRunDataset --help get: description: 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. operationId: getPipelineRun @@ -40948,6 +43686,17 @@ paths: summary: Return One Data Lake Pipeline Run tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPipelineRun --help /api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger: post: description: Triggers a Data Lake Pipeline ingestion of a specified snapshot. @@ -40991,6 +43740,18 @@ paths: summary: Trigger on demand snapshot ingestion tags: - Data Lake Pipelines + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api triggerSnapshotIngestion --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService: get: description: Returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41029,6 +43790,17 @@ paths: summary: Return All Private Endpoint Services for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPrivateEndpointServices --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}: delete: description: Removes one private endpoint service from the specified project. This cloud service provider manages the private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41074,6 +43846,17 @@ paths: summary: Remove One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpointService --help get: description: Returns the name, interfaces, and state of the specified private endpoint service from one project. The cloud service provider hosted this private endpoint service that belongs to the project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpointService @@ -41120,6 +43903,17 @@ paths: summary: Return One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint: post: description: Creates one private endpoint for the specified cloud service provider. This cloud service provider manages the private endpoint service, which in turn manages the private endpoints for the project. To use this resource, the requesting API Key must have the Project Owner role. To learn more about considerations, limitations, and prerequisites, see the MongoDB documentation for setting up a private endpoint. @@ -41178,6 +43972,18 @@ paths: summary: Create One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}: delete: description: Removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider. When the last private endpoint is removed from a given private endpoint service, that private endpoint service is also removed. To use this resource, the requesting API Key must have the Project Owner role. @@ -41230,6 +44036,17 @@ paths: summary: Remove One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deletePrivateEndpoint --help get: description: Returns the connection state of the specified private endpoint. The private endpoint service manages this private endpoint which belongs to one project hosted from one cloud service provider. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getPrivateEndpoint @@ -41283,6 +44100,17 @@ paths: summary: Return One Private Endpoint for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService: post: description: Creates one private endpoint service for the specified cloud service provider. This cloud service provider manages the private endpoint service for the project. When you create a private endpoint service, MongoDB Cloud creates a network container in the project for the cloud provider for which you create the private endpoint service if one doesn't already exist. To learn more about private endpoint terminology in MongoDB Cloud, see Private Endpoint Concepts. To use this resource, the requesting API Key must have the Project Owner role. @@ -41318,6 +44146,18 @@ paths: summary: Create One Private Endpoint Service for One Provider tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPrivateEndpointService --help /api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode: get: description: Checks whether each region in the specified cloud service provider can create multiple private endpoints per region. The cloud service provider manages the private endpoint for the project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41345,6 +44185,17 @@ paths: summary: Return Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getRegionalizedPrivateEndpointSetting --help patch: description: Enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project. The cloud service provider manages the private endpoints for the project. Connection strings to existing multi-region and global sharded clusters change when you enable this setting. You must update your applications to use the new connection strings. This might cause downtime. To use this resource, the requesting API Key must have the Project Owner role and all clusters in the deployment must be sharded clusters. Once enabled, you cannot create replica sets. operationId: toggleRegionalizedPrivateEndpointSetting @@ -41378,6 +44229,18 @@ paths: summary: Toggle Regionalized Private Endpoint Status tags: - Private Endpoint Services + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api toggleRegionalizedPrivateEndpointSetting --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint: get: description: Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource. @@ -41414,6 +44277,17 @@ paths: summary: Return All Private Endpoints for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessPrivateEndpoints --help post: description: |- Creates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -41460,6 +44334,18 @@ paths: summary: Create One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}: delete: description: Remove one private endpoint from one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. @@ -41503,6 +44389,17 @@ paths: summary: Remove One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessPrivateEndpoint --help get: description: Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource. operationId: getServerlessPrivateEndpoint @@ -41545,6 +44442,17 @@ paths: summary: Return One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessPrivateEndpoint --help patch: description: Updates one private endpoint for one serverless instance. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessPrivateEndpoint @@ -41594,6 +44502,18 @@ paths: summary: Update One Private Endpoint for One Serverless Instance tags: - Serverless Private Endpoints + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateIpMode: get: deprecated: true @@ -41623,6 +44543,17 @@ paths: summary: Verify Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help patch: deprecated: true description: Disables Connect via Peering Only mode for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -41660,6 +44591,18 @@ paths: summary: Disable Connect via Peering Only Mode for One Project tags: - Network Peering + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api disablePeering --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds: get: description: 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. @@ -41692,6 +44635,17 @@ paths: summary: Return All Federated Database Instance and Online Archive Private Endpoints in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDataFederationPrivateEndpoints --help post: description: |- 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. @@ -41744,6 +44698,18 @@ paths: summary: Create One Federated Database Instance and Online Archive Private Endpoint for One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}: delete: description: 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. @@ -41780,6 +44746,17 @@ paths: summary: Remove One Federated Database Instance and Online Archive Private Endpoint from One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteDataFederationPrivateEndpoint --help get: description: 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. operationId: getDataFederationPrivateEndpoint @@ -41817,6 +44794,17 @@ paths: summary: Return One Federated Database Instance and Online Archive Private Endpoint in One Project tags: - Data Federation + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDataFederationPrivateEndpoint --help /api/atlas/v2/groups/{groupId}/processes: get: description: Returns details of all processes for the specified project. A MongoDB process can be either a `mongod` or `mongos`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41845,6 +44833,17 @@ paths: summary: Return All MongoDB Processes in One Project tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listAtlasProcesses --help /api/atlas/v2/groups/{groupId}/processes/{processId}: get: description: Returns the processes for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -41878,6 +44877,17 @@ paths: summary: Return One MongoDB Process by ID tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getAtlasProcess --help /api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements: get: description: Get a list of the Coll Stats Latency process-level measurements for the given namespace @@ -41946,6 +44956,17 @@ paths: summary: Return Host-Level Query Latency tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces: get: description: Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window. @@ -41974,6 +44995,17 @@ paths: summary: Return Ranked Namespaces from a Host tags: - Collection Level Metrics + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getCollStatsLatencyNamespacesForHost --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases: get: description: Returns the list of databases running on the specified host for the specified project. `M0` free clusters, `M2`, `M5`, and serverless clusters have some [operational limits](https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/#operational-limitations). The MongoDB Cloud process must be a `mongod`. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42010,6 +45042,17 @@ paths: summary: Return Available Databases for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDatabases --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}: get: description: Returns one database running on the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42049,6 +45092,17 @@ paths: summary: Return One Database for a MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabase --help /api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements: get: description: Returns the measurements of one database for the specified host for the specified project. Returns the database's on-disk storage space based on the MongoDB `dbStats` command output. To calculate some metric series, Atlas takes the rate between every two adjacent points. For these metric series, the first data point has a null value because Atlas can't calculate a rate for the first data point given the query time range. Atlas retrieves database metrics every 20 minutes but reduces frequency when necessary to optimize database performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42114,6 +45168,17 @@ paths: summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDatabaseMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks: get: description: Returns the list of disks or partitions for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42150,6 +45215,17 @@ paths: summary: Return Available Disks for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskPartitions --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}: get: description: Returns measurement details for one disk or partition for the specified host for the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42188,6 +45264,17 @@ paths: summary: Return Measurements of One Disk tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements: get: description: |- @@ -42269,6 +45356,17 @@ paths: summary: Return Measurements of One Disk for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getDiskMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/measurements: get: description: |- @@ -42461,6 +45559,17 @@ paths: summary: Return Measurements for One MongoDB Process tags: - Monitoring and Logs + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getHostMeasurements --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces: get: description: Returns up to 20 namespaces for collections experiencing slow queries on the specified host. If you specify a secondary member of a replica set that hasn't received any database read operations, the endpoint doesn't return any namespaces. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42514,6 +45623,17 @@ paths: summary: Return All Namespaces for One Host tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueryNamespaces --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs: get: description: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. MongoDB Cloud bases the threshold for slow queries on the average time of operations on your cluster. This enables workload-relevant recommendations. To use this resource, the requesting API Key must have the Project Data Access Read Write role. @@ -42584,6 +45704,17 @@ paths: summary: Return Slow Queries tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSlowQueries --help /api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes: get: description: Returns the indexes that the Performance Advisor suggests. The Performance Advisor monitors queries that MongoDB considers slow and suggests new indexes to improve query performance. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42661,6 +45792,17 @@ paths: summary: Return Suggested Indexes tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSuggestedIndexes --help /api/atlas/v2/groups/{groupId}/pushBasedLogExport: delete: description: Disables the push-based log export feature by resetting the project level settings to its default configuration. @@ -42690,6 +45832,17 @@ paths: summary: Disable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + - label: Atlas CLI + lang: cURL + source: atlas api deletePushBasedLogConfiguration --help get: description: Fetches the current project level settings for the push-based log export feature. operationId: getPushBasedLogConfiguration @@ -42718,6 +45871,17 @@ paths: summary: Get the push-based log export configuration for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getPushBasedLogConfiguration --help patch: description: Updates the project level settings for the push-based log export feature. operationId: updatePushBasedLogConfiguration @@ -42754,6 +45918,18 @@ paths: summary: Update the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updatePushBasedLogConfiguration --help post: description: Configures the project level settings for the push-based log export feature. operationId: createPushBasedLogConfiguration @@ -42790,6 +45966,18 @@ paths: summary: Enable the push-based log export feature for a project tags: - Push-Based Log Export + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createPushBasedLogConfiguration --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}: post: description: Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role. @@ -42827,6 +46015,18 @@ paths: summary: Load Sample Dataset Request into Cluster tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api loadSampleDataset --help /api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}: get: description: 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. @@ -42860,6 +46060,17 @@ paths: summary: Check Status of Cluster Sample Dataset Request tags: - Clusters + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getSampleDatasetLoadStatus --help /api/atlas/v2/groups/{groupId}/serverless: get: description: Returns details for all serverless instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -42888,6 +46099,17 @@ paths: summary: Return All Serverless Instances from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessInstances --help post: description: Creates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createServerlessInstance @@ -42923,6 +46145,18 @@ paths: summary: Create One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessInstance --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs: get: description: 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. @@ -42962,6 +46196,17 @@ paths: summary: Return All Restore Jobs for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackupRestoreJobs --help post: description: 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. operationId: createServerlessBackupRestoreJob @@ -43008,6 +46253,18 @@ paths: summary: Restore One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}: get: description: 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. @@ -43053,6 +46310,17 @@ paths: summary: Return One Restore Job for One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackupRestoreJob --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots: get: description: 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. @@ -43092,6 +46360,17 @@ paths: summary: Return All Snapshots of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServerlessBackups --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}: get: description: 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. @@ -43137,6 +46416,17 @@ paths: summary: Return One Snapshot of One Serverless Instance tags: - Cloud Backups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessBackup --help /api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing: get: description: Get whether the Serverless Auto Indexing feature is enabled. @@ -43171,6 +46461,17 @@ paths: summary: Return Serverless Auto Indexing Enabled tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessAutoIndexing --help post: description: Set whether the Serverless Auto Indexing feature is enabled. operationId: setServerlessAutoIndexing @@ -43209,6 +46510,18 @@ paths: summary: Set Serverless Auto Indexing tags: - Performance Advisor + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api setServerlessAutoIndexing --help /api/atlas/v2/groups/{groupId}/serverless/{name}: delete: description: Removes one serverless instance from the specified project. The serverless instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -43247,6 +46560,17 @@ paths: summary: Remove One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServerlessInstance --help get: description: Returns details for one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getServerlessInstance @@ -43284,6 +46608,17 @@ paths: summary: Return One Serverless Instance from One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServerlessInstance --help patch: description: Updates one serverless instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateServerlessInstance @@ -43326,6 +46661,18 @@ paths: summary: Update One Serverless Instance in One Project tags: - Serverless Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServerlessInstance --help /api/atlas/v2/groups/{groupId}/serviceAccounts: get: description: Returns list of Service Accounts for a project with service account details. @@ -43355,6 +46702,17 @@ paths: summary: Return All project Service Accounts tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectServiceAccounts --help post: description: Creates and assigns the specified Service Account to the specified Project. operationId: createProjectServiceAccount @@ -43389,6 +46747,18 @@ paths: summary: Create and Assign one Service Account to one project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}: delete: description: Removes one Service Account from the specified project. @@ -43423,6 +46793,17 @@ paths: summary: Unassign One Service Account from One Project. tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteProjectServiceAccount --help get: description: Get project Service Account Details. operationId: getProjectServiceAccount @@ -43455,6 +46836,17 @@ paths: summary: Service Account Fetching tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectServiceAccount --help patch: description: Update Service Account in Project. operationId: updateProjectServiceAccount @@ -43496,6 +46888,18 @@ paths: summary: Service Account Update in Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectServiceAccount --help post: description: Assigns the specified organization Service Account to the specified project. operationId: addProjectServiceAccount @@ -43539,6 +46943,18 @@ paths: summary: Assign One Service Account to One Project tags: - Groups + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addProjectServiceAccount --help /api/atlas/v2/groups/{groupId}/settings: get: description: Returns details about the specified project's settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -43568,6 +46984,17 @@ paths: summary: Return One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectSettings --help patch: description: Updates the settings of the specified project. You can update any of the options available. MongoDB cloud only updates the options provided in the request. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateProjectSettings @@ -43603,6 +47030,18 @@ paths: summary: Update One Project Settings tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectSettings --help /api/atlas/v2/groups/{groupId}/streams: get: description: Returns all stream instances for the specified project. @@ -43630,6 +47069,17 @@ paths: summary: Return All Project Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamInstances --help post: description: Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamInstance @@ -43663,6 +47113,18 @@ paths: summary: Create One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: Delete one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @@ -43698,6 +47160,17 @@ paths: summary: Delete One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamInstance --help get: description: Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamInstance @@ -43736,6 +47209,17 @@ paths: summary: Return One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamInstance --help patch: description: Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamInstance @@ -43779,6 +47263,18 @@ paths: summary: Update One Stream Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamInstance --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. 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".' @@ -43835,6 +47331,17 @@ paths: summary: Download Audit Logs for One Atlas Stream Processing Instance tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadStreamTenantAuditLogs --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @@ -43870,6 +47377,17 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamConnections --help post: description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection @@ -43911,6 +47429,18 @@ paths: summary: Create One Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: Delete one connection of the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -43952,6 +47482,17 @@ paths: summary: Delete One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamConnection --help get: description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role. operationId: getStreamConnection @@ -43989,6 +47530,17 @@ paths: summary: Return One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamConnection --help patch: description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection @@ -44038,6 +47590,18 @@ paths: summary: Update One Stream Connection tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateStreamConnection --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: description: Create one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -44080,6 +47644,18 @@ paths: summary: Create One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: description: Delete a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -44119,6 +47695,17 @@ paths: summary: Delete One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteStreamProcessor --help get: description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getStreamProcessor @@ -44159,6 +47746,17 @@ paths: summary: Get One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -44200,6 +47798,18 @@ paths: summary: Start One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api startStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: description: Stop a Stream Processor within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -44241,6 +47851,18 @@ paths: summary: Stop One Stream Processor tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api stopStreamProcessor --help /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: description: Returns all Stream Processors within the specified stream instance. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role. @@ -44279,6 +47901,17 @@ paths: summary: Return All Stream Processors In The Stream Instance. tags: - Streams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listStreamProcessors --help /api/atlas/v2/groups/{groupId}/teams: get: description: Returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44313,6 +47946,17 @@ paths: summary: Return All Teams in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectTeams --help post: description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -44355,6 +47999,18 @@ paths: summary: Add One or More Teams to One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addAllTeamsToProject --help /api/atlas/v2/groups/{groupId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Project Owner role. @@ -44395,6 +48051,17 @@ paths: summary: Remove One Team from One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectTeam --help patch: description: Updates the project roles assigned to the specified team. You can grant team roles for specific projects and grant project access roles to users in the team. All members of the team share the same project access. To use this resource, the requesting API Key must have the Project Owner role. externalDocs: @@ -44444,6 +48111,18 @@ paths: summary: Update Team Roles in One Project tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateTeamRoles --help /api/atlas/v2/groups/{groupId}/userSecurity: get: description: Returns the current LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44469,6 +48148,17 @@ paths: summary: Return the Current LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfiguration --help patch: description: |- Edits the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44505,6 +48195,18 @@ paths: summary: Edit the LDAP or X.509 Configuration tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api saveLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/customerX509: delete: description: |- @@ -44532,6 +48234,17 @@ paths: summary: Disable Customer-Managed X.509 tags: - X.509 Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + - label: Atlas CLI + lang: cURL + source: atlas api disableCustomerManagedX509 --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping: delete: description: Removes the current LDAP Distinguished Name mapping captured in the ``userToDNMapping`` document from the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44557,6 +48270,17 @@ paths: summary: Remove the Current LDAP User to DN Mapping tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify: post: description: Verifies the LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44591,6 +48315,18 @@ paths: summary: Verify the LDAP Configuration in One Project tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api verifyLDAPConfiguration --help /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}: get: description: Returns the status of one request to verify one LDAP configuration for the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44625,6 +48361,17 @@ paths: summary: Return the Status of One Verify LDAP Configuration Request tags: - LDAP Configuration + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getLDAPConfigurationStatus --help /api/atlas/v2/groups/{groupId}/users: get: description: Returns details about all users in the specified project. Users belong to an organization. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44665,6 +48412,17 @@ paths: summary: Return All Users in One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listProjectUsers --help /api/atlas/v2/groups/{groupId}/users/{userId}: delete: description: Removes the specified user from the specified project. To use this resource, the requesting API Key must have the Project Owner role. @@ -44701,6 +48459,17 @@ paths: summary: Remove One User from One Project tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeProjectUser --help /api/atlas/v2/groups/{groupId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified project. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified project. To use this resource, the requesting API Key must have the Group User Admin role. @@ -44746,6 +48515,18 @@ paths: summary: Update Project Roles for One MongoDB Cloud User tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateProjectRoles --help /api/atlas/v2/groups/{groupId}/uss: get: description: Returns details for all USS instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44774,6 +48555,17 @@ paths: summary: Return All USS Instances from One Project tags: - USS Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/uss?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listUSSInstances --help post: description: Creates one USS instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: createUSSInstance @@ -44809,6 +48601,18 @@ paths: summary: Create One USS Instance in One Project tags: - USS Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}/uss" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUSSInstance --help /api/atlas/v2/groups/{groupId}/uss/{name}: delete: description: Removes one USS instance from the specified project. The USS instance must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. @@ -44847,6 +48651,17 @@ paths: summary: Remove One USS Instance from One Project tags: - USS Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/groups/{groupId}/uss/{name}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteUSSInstance --help x-xgen-changelog: "2025-03-02": Changelog test entry. get: @@ -44886,6 +48701,17 @@ paths: summary: Return One USS Instance from One Project tags: - USS Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUSSInstance --help patch: description: Updates one USS instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role. operationId: updateUSSInstance @@ -44928,6 +48754,18 @@ paths: summary: Update One USS Instance in One Project tags: - USS Instances + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/groups/{groupId}/uss/{name}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateUSSInstance --help /api/atlas/v2/groups/{groupId}:migrate: post: description: Migrates a project from its current organization to another organization. All project users and their roles will be copied to the same project in the destination organization. You must include an organization API key with the Organization Owner role for the destination organization to verify access to the destination organization when you authenticate with Programmatic API Keys. Otherwise, the requesting user must have the Organization Owner role in both organizations. To use this resource, the requesting API Key must have the Organization Owner role. @@ -44959,6 +48797,18 @@ paths: summary: Migrate One Project to Another Organization tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api migrateProjectToAnotherOrg --help /api/atlas/v2/groups/byName/{groupName}: get: description: Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting API Key must have the Project Read Only role. @@ -44997,6 +48847,17 @@ paths: summary: Return One Project using Its Name tags: - Projects + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getProjectByName --help /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting API Key has access. To use this resource, the requesting API Key must have the Organization Member role. @@ -45035,6 +48896,17 @@ paths: summary: Return All Organizations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizations --help post: description: Creates one organization in MongoDB Cloud and links it to the requesting API Key's organization. To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key's organization must be a paying organization. To learn more, see [Configure a Paying Organization](https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization) in the MongoDB Atlas documentation. operationId: createOrganization @@ -45073,6 +48945,18 @@ paths: summary: Create One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganization --help /api/atlas/v2/orgs/{orgId}: delete: description: |- @@ -45110,6 +48994,17 @@ paths: summary: Remove One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganization --help get: description: Returns one organization to which the requesting API key has access. To use this resource, the requesting API Key must have the Organization Member role. operationId: getOrganization @@ -45140,6 +49035,17 @@ paths: summary: Return One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganization --help patch: description: Renames one organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: renameOrganization @@ -45177,6 +49083,18 @@ paths: summary: Rename One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameOrganization --help /api/atlas/v2/orgs/{orgId}/apiKeys: get: description: Returns all organization API keys for the specified organization. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the console. To use this resource, the requesting API Key must have the Organization Member role. @@ -45208,6 +49126,17 @@ paths: summary: Return All Organization API Keys tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeys --help post: description: Creates one API key for the specified organization. An organization API key grants programmatic access to an organization. You can't use the API key to log into the console. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -45242,6 +49171,18 @@ paths: summary: Create One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}: delete: description: Removes one organization API key from the specified organization. When you remove an API key from an organization, MongoDB Cloud also removes that key from any projects that use that key. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45279,6 +49220,17 @@ paths: summary: Remove One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKey --help get: description: Returns one organization API key. The organization API keys grant programmatic access to an organization. You can't use the API key to log into MongoDB Cloud through the user interface. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -45315,6 +49267,17 @@ paths: summary: Return One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKey --help patch: description: Updates one organization API key in the specified organization. The organization API keys grant programmatic access to an organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -45360,6 +49323,18 @@ paths: summary: Update One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateApiKey --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList: get: description: Returns all access list entries that you configured for the specified organization API key. To use this resource, the requesting API Key must have the Organization Member role. @@ -45400,6 +49375,17 @@ paths: summary: Return All Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listApiKeyAccessListsEntries --help post: description: Creates the access list entries for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. operationId: createApiKeyAccessList @@ -45449,6 +49435,18 @@ paths: summary: Create Access List Entries for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}: delete: description: Removes the specified access list entry from the specified organization API key. Resources require all API requests originate from the IP addresses on the API access list. To use this resource, the requesting API Key must have the Read Write role. In addition, you cannot remove the requesting IP address from the requesting organization API key. @@ -45498,6 +49496,17 @@ paths: summary: Remove One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteApiKeyAccessListEntry --help get: description: Returns one access list entry for the specified organization API key. Resources require all API requests originate from IP addresses on the API access list. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -45544,6 +49553,17 @@ paths: summary: Return One Access List Entry for One Organization API Key tags: - Programmatic API Keys + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getApiKeyAccessList --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage: post: description: Creates a query process within the Cost Explorer for the given parameters. A token is returned that can be used to poll the status of the query and eventually retrieve the results. @@ -45577,6 +49597,18 @@ paths: summary: Create Cost Explorer query process tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess --help /api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}: get: description: Returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed. If the data is not ready, a 'processing' response willindicate that another request should be sent later to view the data. @@ -45620,6 +49652,17 @@ paths: summary: Return results from a given Cost Explorer query, or notify that the results are not ready yet. tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api createCostExplorerQueryProcess_1 --help /api/atlas/v2/orgs/{orgId}/events: get: description: |- @@ -45660,7 +49703,7 @@ paths: in: query name: minDate schema: - example: "2021-11-17T23:15:00.06Z" + example: "2021-11-17T23:15:00.060Z" format: date-time type: string responses: @@ -45680,6 +49723,17 @@ paths: summary: Return All Events from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationEvents --help /api/atlas/v2/orgs/{orgId}/events/{eventId}: get: description: |- @@ -45725,6 +49779,17 @@ paths: summary: Return One Event from One Organization tags: - Events + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationEvent --help /api/atlas/v2/orgs/{orgId}/federationSettings: get: description: Returns information about the federation settings for the specified organization. To use this resource, the requesting API Key must have the Organization Owner role in the connected org. @@ -45754,6 +49819,17 @@ paths: summary: Return Federation Settings for One Organization tags: - Federated Authentication + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getFederationSettings --help /api/atlas/v2/orgs/{orgId}/groups: get: description: |- @@ -45799,6 +49875,17 @@ paths: summary: Return One or More Projects in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationProjects --help /api/atlas/v2/orgs/{orgId}/invites: get: description: Returns all pending invitations to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45836,6 +49923,17 @@ paths: summary: Return All Organization Invitations tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationInvitations --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the username of the invited user. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitation @@ -45871,6 +49969,18 @@ paths: summary: Update One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitation --help post: description: Invites one MongoDB Cloud user to join the specified organization. The user must accept the invitation to access information within the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: createOrganizationInvitation @@ -45906,6 +50016,18 @@ paths: summary: Invite One MongoDB Cloud User to Join One Atlas Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createOrganizationInvitation --help /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join an organization. You can't cancel an invitation that the user accepted. To use this resource, the requesting API Key must have the Organization Owner role. @@ -45941,6 +50063,17 @@ paths: summary: Cancel One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteOrganizationInvitation --help get: description: Returns the details of one pending invitation to the specified organization. To use this resource, the requesting API Key must have the Organization Owner role. operationId: getOrganizationInvitation @@ -45977,6 +50110,17 @@ paths: summary: Return One Organization Invitation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationInvitation --help patch: description: Updates the details of one pending invitation to the specified organization. To specify which invitation, provide the unique identification string for that invitation. Use the Return All Organization Invitations endpoint to retrieve IDs for all pending organization invitations. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationInvitationById @@ -46021,6 +50165,18 @@ paths: summary: Update One Organization Invitation by Invitation ID tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationInvitationById --help /api/atlas/v2/orgs/{orgId}/invoices: get: description: |- @@ -46110,6 +50266,17 @@ paths: summary: Return All Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listInvoices --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}: get: description: |- @@ -46152,6 +50319,17 @@ paths: summary: Return One Organization Invoice tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv: get: description: |- @@ -46195,6 +50373,17 @@ paths: summary: Return One Organization Invoice as CSV tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api downloadInvoiceCSV --help /api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search: get: description: Query the lineItems of the specified invoice and return the result JSON. A unique 24-hexadecimal digit string identifies the invoice. @@ -46239,6 +50428,17 @@ paths: summary: Query lineItems of the specified invoiceId tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api queryLineItemsFromSingleInvoice --help /api/atlas/v2/orgs/{orgId}/invoices/pending: get: description: Returns all invoices accruing charges for the current billing cycle for the specified organization. To use this resource, the requesting API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner Role. @@ -46266,6 +50466,17 @@ paths: summary: Return All Pending Invoices for One Organization tags: - Invoices + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listPendingInvoices --help /api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects: get: description: Return all projects that you can migrate to the specified organization. @@ -46295,6 +50506,17 @@ paths: summary: Return All Projects Available for Migration tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listSourceProjects --help /api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens: delete: description: 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. @@ -46321,6 +50543,17 @@ paths: summary: Remove One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + - label: Atlas CLI + lang: cURL + source: atlas api deleteLinkToken --help post: description: 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. operationId: createLinkToken @@ -46354,6 +50587,18 @@ paths: summary: Create One Link-Token tags: - Cloud Migration Service + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createLinkToken --help /api/atlas/v2/orgs/{orgId}/serviceAccounts: get: description: Returns list of Service Accounts with service account details. @@ -46383,6 +50628,17 @@ paths: summary: Return All Service Accounts tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccounts --help post: description: Create Service Account containing client id and client secrets. operationId: createServiceAccount @@ -46416,6 +50672,18 @@ paths: summary: Service Account Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}: delete: description: Delete Service Account. @@ -46447,6 +50715,17 @@ paths: summary: Service Account Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccount --help get: description: Get Service Account Details. operationId: getServiceAccount @@ -46479,6 +50758,17 @@ paths: summary: Service Account Fetching tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getServiceAccount --help patch: description: Update Service Account. operationId: updateServiceAccount @@ -46520,6 +50810,18 @@ paths: summary: Service Account Update tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateServiceAccount --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups: get: description: Returns list of Service Account projects. @@ -46555,6 +50857,17 @@ paths: summary: Return All Service Account projects tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listServiceAccountProjects --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets: post: description: Create Service Account secret. @@ -46595,6 +50908,18 @@ paths: summary: Service Account Secret Creation tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}: delete: description: Delete Service Account Secret. @@ -46632,6 +50957,17 @@ paths: summary: Service Account Secret Deletion. tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteServiceAccountSecret --help /api/atlas/v2/orgs/{orgId}/settings: get: description: Returns details about the specified organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46661,6 +50997,17 @@ paths: summary: Return Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getOrganizationSettings --help patch: description: Updates the organization's settings. To use this resource, the requesting API Key must have the Organization Owner role. operationId: updateOrganizationSettings @@ -46696,6 +51043,18 @@ paths: summary: Update Settings for One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationSettings --help /api/atlas/v2/orgs/{orgId}/teams: get: description: Returns all teams that belong to the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud only returns teams for which you have access. To use this resource, the requesting API Key must have the Organization Member role. @@ -46731,6 +51090,17 @@ paths: summary: Return All Teams in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationTeams --help post: description: Creates one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits the number of teams to a maximum of 250 teams per organization. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46771,6 +51141,18 @@ paths: summary: Create One Team in One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}: delete: description: Removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier. To use this resource, the requesting API Key must have the Organization Owner role. @@ -46812,6 +51194,17 @@ paths: summary: Remove One Team from One Organization tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + - label: Atlas CLI + lang: cURL + source: atlas api deleteTeam --help get: description: Returns one team that you identified using its unique 24-hexadecimal digit ID. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. externalDocs: @@ -46852,6 +51245,17 @@ paths: summary: Return One Team using its ID tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamById --help patch: description: Renames one team in the specified organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46901,6 +51305,18 @@ paths: summary: Rename One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api renameTeam --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users: get: description: Returns all MongoDB Cloud users assigned to the team specified using its unique 24-hexadecimal digit identifier. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -46946,6 +51362,17 @@ paths: summary: Return All MongoDB Cloud Users Assigned to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listTeamUsers --help post: description: Adds one or more MongoDB Cloud users from the specified organization to the specified team. Teams enable you to grant project access roles to MongoDB Cloud users. You can assign up to 250 MongoDB Cloud users from one organization to one team. To use this resource, the requesting API Key must have the Organization Owner role. externalDocs: @@ -46997,6 +51424,18 @@ paths: summary: Assign MongoDB Cloud Users from One Organization to One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api addTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified team. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Owner role. @@ -47045,6 +51484,17 @@ paths: summary: Remove One MongoDB Cloud User from One Team tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeTeamUser --help /api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}: get: description: Returns one team that you identified using its human-readable name. This team belongs to one organization. Teams enable you to grant project access roles to MongoDB Cloud users. To use this resource, the requesting API Key must have the Organization Member role. @@ -47083,6 +51533,17 @@ paths: summary: Return One Team using its Name tags: - Teams + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getTeamByName --help /api/atlas/v2/orgs/{orgId}/users: get: description: Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role. @@ -47115,6 +51576,17 @@ paths: summary: Return All MongoDB Cloud Users in One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api listOrganizationUsers --help /api/atlas/v2/orgs/{orgId}/users/{userId}: delete: description: Removes one MongoDB Cloud user from the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -47154,6 +51626,17 @@ paths: summary: Remove One MongoDB Cloud User from One Organization tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + - label: Atlas CLI + lang: cURL + source: atlas api removeOrganizationUser --help /api/atlas/v2/orgs/{orgId}/users/{userId}/roles: put: description: Updates the roles of the specified user in the specified organization. To specify the user to update, provide the unique 24-hexadecimal digit string that identifies the user in the specified organization. To use this resource, the requesting API Key must have the Organization User Admin role. @@ -47199,6 +51682,18 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api updateOrganizationRoles --help /api/atlas/v2/unauth/controlPlaneIPAddresses: get: description: Returns all control plane IP addresses. Currently, inbound Atlas control plane IP addresses are not yet available. The inbound IP address list in your API response is empty. To manually retrieve a list of inbound Atlas control plane IP addresses, see [Required Inbound Access](https://www.mongodb.com/docs/atlas/setup-cluster-security/#std-label-atlas-required-inbound-access). @@ -47218,6 +51713,17 @@ paths: summary: Return All Control Plane IP Addresses tags: - Root + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api returnAllControlPlaneIPAddresses --help /api/atlas/v2/users: post: description: |- @@ -47256,6 +51762,18 @@ paths: summary: Create One MongoDB Cloud User tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X POST "/api/atlas/v2/users" + -d { } + - label: Atlas CLI + lang: cURL + source: atlas api createUser --help /api/atlas/v2/users/{userId}: get: description: Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role. @@ -47291,6 +51809,17 @@ paths: summary: Return One MongoDB Cloud User using Its ID tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/users/{userId}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUser --help /api/atlas/v2/users/byName/{userName}: get: description: Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role. @@ -47324,6 +51853,17 @@ paths: summary: Return One MongoDB Cloud User using Their Username tags: - MongoDB Cloud Users + x-codeSamples: + - label: curl + lang: cURL + source: |- + curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-01-01+json" \ + -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + - label: Atlas CLI + lang: cURL + source: atlas api getUserByUsername --help servers: - url: https://cloud.mongodb.com tags: From 14fdfdc6323386453bc9b02f494dc2aaaca8007d Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:32:49 +0200 Subject: [PATCH 06/13] Update split_test.go --- tools/cli/test/e2e/cli/split_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/cli/test/e2e/cli/split_test.go b/tools/cli/test/e2e/cli/split_test.go index 5e06f46072..7733f574d5 100755 --- a/tools/cli/test/e2e/cli/split_test.go +++ b/tools/cli/test/e2e/cli/split_test.go @@ -69,7 +69,6 @@ func TestSplitVersionsFilteredOASes(t *testing.T) { for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { - t.Parallel() folder := tc.env base := getInputPath(t, tc.specType, tc.format, folder) outputPath := getOutputFolder(t, folder) + "/" + tc.specType + "-" + folder + "-" + "output." + tc.format From f7ac0110c5b3bd885e5b94b083efba3dc0619772 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:35:28 +0200 Subject: [PATCH 07/13] Revert "Update split_test.go" This reverts commit 14fdfdc6323386453bc9b02f494dc2aaaca8007d. --- tools/cli/test/e2e/cli/split_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cli/test/e2e/cli/split_test.go b/tools/cli/test/e2e/cli/split_test.go index 7733f574d5..5e06f46072 100755 --- a/tools/cli/test/e2e/cli/split_test.go +++ b/tools/cli/test/e2e/cli/split_test.go @@ -69,6 +69,7 @@ func TestSplitVersionsFilteredOASes(t *testing.T) { for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { + t.Parallel() folder := tc.env base := getInputPath(t, tc.specType, tc.format, folder) outputPath := getOutputFolder(t, folder) + "/" + tc.specType + "-" + folder + "-" + "output." + tc.format From 2beb1bde5266dd3a7078444c3c242d408cd62303 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:35:51 +0200 Subject: [PATCH 08/13] Update code_sample_test.go --- tools/cli/internal/openapi/filter/code_sample_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/internal/openapi/filter/code_sample_test.go b/tools/cli/internal/openapi/filter/code_sample_test.go index 9ac90f8be1..10ffb6e214 100644 --- a/tools/cli/internal/openapi/filter/code_sample_test.go +++ b/tools/cli/internal/openapi/filter/code_sample_test.go @@ -222,8 +222,8 @@ func TestCodeSampleFilter(t *testing.T) { } for _, tt := range testCases { - t.Parallel() t.Run(tt.name, func(t *testing.T) { + t.Parallel() oas := tt.oas version, err := apiversion.New(apiversion.WithVersion(tt.version)) require.NoError(t, err) From c031fb14c215c7170df4febdd6e0c120e1cfb504 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:43:17 +0200 Subject: [PATCH 09/13] Update code_sample.go --- tools/cli/internal/openapi/filter/code_sample.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go index c8555cacc1..37be3b8049 100644 --- a/tools/cli/internal/openapi/filter/code_sample.go +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -44,8 +44,8 @@ func (f *CodeSampleFilter) ValidateMetadata() error { func (f *CodeSampleFilter) Apply() error { for pathName, p := range f.oas.Paths.Map() { - for opK, op := range p.Operations() { - if err := f.includeCodeSamplesForOperation(pathName, opK, op); err != nil { + for opMethod, op := range p.Operations() { + if err := f.includeCodeSamplesForOperation(pathName, opMethod, op); err != nil { return err } } From 5dbf15b5be345096080333277130cc8c2437c708 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:49:39 +0200 Subject: [PATCH 10/13] Update code_sample.go --- tools/cli/internal/openapi/filter/code_sample.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go index 37be3b8049..21bca1808d 100644 --- a/tools/cli/internal/openapi/filter/code_sample.go +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -54,17 +54,17 @@ func (f *CodeSampleFilter) Apply() error { return nil } -func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opK string) codeSample { +func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opMethod string) codeSample { source := "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + "--header \"Accept: application/vnd.atlas." + apiVersion(f.metadata.targetVersion) + "+json\" \\\n " - switch opK { + switch opMethod { case "GET": - source += "-X " + opK + " \"" + pathName + "?pretty=true\"" + source += "-X " + opMethod + " \"" + pathName + "?pretty=true\"" case "DELETE": - source += "-X " + opK + " \"" + pathName + "\"" + source += "-X " + opMethod + " \"" + pathName + "\"" case "POST", "PATCH", "PUT": - source += "-X " + opK + " \"" + pathName + "\"\n " + source += "-X " + opMethod + " \"" + pathName + "\"\n " source += "-d " + "{ }" } @@ -96,8 +96,8 @@ func newAtlasCliCodeSamplesForOperation(op *openapi3.Operation) codeSample { } } -func (f *CodeSampleFilter) includeCodeSamplesForOperation(pathName, opK string, op *openapi3.Operation) error { - if op == nil || opK == "" || pathName == "" { +func (f *CodeSampleFilter) includeCodeSamplesForOperation(pathName, opMethod string, op *openapi3.Operation) error { + if op == nil || opMethod == "" || pathName == "" { return nil } @@ -106,7 +106,7 @@ func (f *CodeSampleFilter) includeCodeSamplesForOperation(pathName, opK string, } op.Extensions[codeSampleExtensionName] = []codeSample{ - f.newCurlCodeSamplesForOperation(pathName, opK), + f.newCurlCodeSamplesForOperation(pathName, opMethod), newAtlasCliCodeSamplesForOperation(op), } return nil From f38126a3ee25fcc23ce7b66ff3d82e4877d3bc48 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Tue, 20 May 2025 16:59:50 +0200 Subject: [PATCH 11/13] fix: addressed follow up comments --- .../internal/openapi/filter/code_sample.go | 4 +- .../data/split/dev/openapi-v2-2023-01-01.json | 228 +++++++------- .../data/split/dev/openapi-v2-2023-01-01.yaml | 114 +++++++ .../data/split/dev/openapi-v2-2023-02-01.json | 238 +++++++-------- .../data/split/dev/openapi-v2-2023-02-01.yaml | 119 ++++++++ .../data/split/dev/openapi-v2-2023-10-01.json | 250 ++++++++-------- .../data/split/dev/openapi-v2-2023-10-01.yaml | 125 ++++++++ .../data/split/dev/openapi-v2-2023-11-15.json | 258 ++++++++-------- .../data/split/dev/openapi-v2-2023-11-15.yaml | 129 ++++++++ .../data/split/dev/openapi-v2-2024-05-30.json | 276 ++++++++--------- .../data/split/dev/openapi-v2-2024-05-30.yaml | 138 +++++++++ .../data/split/dev/openapi-v2-2024-08-05.json | 276 ++++++++--------- .../data/split/dev/openapi-v2-2024-08-05.yaml | 138 +++++++++ .../data/split/dev/openapi-v2-2025-01-01.json | 280 +++++++++--------- .../data/split/dev/openapi-v2-2025-01-01.yaml | 140 +++++++++ 15 files changed, 1809 insertions(+), 904 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go index 21bca1808d..5f6036e0ed 100644 --- a/tools/cli/internal/openapi/filter/code_sample.go +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -55,8 +55,9 @@ func (f *CodeSampleFilter) Apply() error { } func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opMethod string) codeSample { + version := apiVersion(f.metadata.targetVersion) source := "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + - "--header \"Accept: application/vnd.atlas." + apiVersion(f.metadata.targetVersion) + "+json\" \\\n " + "--header \"Accept: application/vnd.atlas." + version + "+json\" \\\n " switch opMethod { case "GET": @@ -64,6 +65,7 @@ func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opMethod str case "DELETE": source += "-X " + opMethod + " \"" + pathName + "\"" case "POST", "PATCH", "PUT": + source += "--header \"Content-Type: application/vnd.atlas." + version + "+json\" \\\n " source += "-X " + opMethod + " \"" + pathName + "\"\n " source += "-d " + "{ }" } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json index 9ff189d3c7..cdafb2f5b4 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json @@ -772,7 +772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -907,7 +907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1139,7 +1139,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1392,7 +1392,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1605,7 +1605,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1872,7 +1872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2030,7 +2030,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2393,7 +2393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2616,7 +2616,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2701,7 +2701,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3022,7 +3022,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3240,7 +3240,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3406,7 +3406,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3487,7 +3487,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3613,7 +3613,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3736,7 +3736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3879,7 +3879,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4169,7 +4169,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4297,7 +4297,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4535,7 +4535,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4691,7 +4691,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4857,7 +4857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -4937,7 +4937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5185,7 +5185,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5348,7 +5348,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5588,7 +5588,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -5973,7 +5973,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6136,7 +6136,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6630,7 +6630,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6722,7 +6722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6811,7 +6811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7381,7 +7381,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7754,7 +7754,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -7991,7 +7991,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8175,7 +8175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8351,7 +8351,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8524,7 +8524,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8913,7 +8913,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9154,7 +9154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9322,7 +9322,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9390,7 +9390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9566,7 +9566,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9882,7 +9882,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -9968,7 +9968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10118,7 +10118,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10467,7 +10467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10817,7 +10817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -11121,7 +11121,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11259,7 +11259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11485,7 +11485,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11633,7 +11633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11853,7 +11853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -12175,7 +12175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12567,7 +12567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12823,7 +12823,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -12993,7 +12993,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13368,7 +13368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13515,7 +13515,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -14622,7 +14622,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14725,7 +14725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14869,7 +14869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -14937,7 +14937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15160,7 +15160,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15564,7 +15564,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15644,7 +15644,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15725,7 +15725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -15934,7 +15934,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16109,7 +16109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16163,7 +16163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16217,7 +16217,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16388,7 +16388,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16668,7 +16668,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16897,7 +16897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17026,7 +17026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17249,7 +17249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17487,7 +17487,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17559,7 +17559,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17901,7 +17901,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -17973,7 +17973,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18102,7 +18102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18254,7 +18254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18501,7 +18501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18849,7 +18849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19174,7 +19174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19315,7 +19315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -20891,7 +20891,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -20964,7 +20964,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21036,7 +21036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21240,7 +21240,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21408,7 +21408,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21797,7 +21797,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -22026,7 +22026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22161,7 +22161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22318,7 +22318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -22485,7 +22485,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -22611,7 +22611,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -22793,7 +22793,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -23104,7 +23104,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -23259,7 +23259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -23464,7 +23464,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -23604,7 +23604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -23833,7 +23833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -24011,7 +24011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -24254,7 +24254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -24811,7 +24811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -24883,7 +24883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -25109,7 +25109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -25655,7 +25655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -25790,7 +25790,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -25945,7 +25945,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26268,7 +26268,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26450,7 +26450,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -26839,7 +26839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml index f34cfd950f..0b868b9db5 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml @@ -28641,6 +28641,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -28728,6 +28729,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -28882,6 +28884,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -29052,6 +29055,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -29190,6 +29194,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -29314,6 +29319,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -29411,6 +29417,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -29655,6 +29662,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -29814,6 +29822,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -29876,6 +29885,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -30093,6 +30103,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -30232,6 +30243,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -30339,6 +30351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -30393,6 +30406,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -30474,6 +30488,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -30553,6 +30568,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -30644,6 +30660,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -30838,6 +30855,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -30921,6 +30939,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -31078,6 +31097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -31177,6 +31197,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -31343,6 +31364,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -31449,6 +31471,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -31608,6 +31631,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -31869,6 +31893,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -31977,6 +32002,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -32151,6 +32177,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -32368,6 +32395,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -32427,6 +32455,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -32802,6 +32831,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -33055,6 +33085,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -33214,6 +33245,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -33337,6 +33369,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -33459,6 +33492,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -33571,6 +33605,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -33760,6 +33795,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -33995,6 +34031,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -34108,6 +34145,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -34154,6 +34192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -34272,6 +34311,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -34486,6 +34526,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -34544,6 +34585,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -34650,6 +34692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -34882,6 +34925,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -35112,6 +35156,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -35164,6 +35209,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -35267,6 +35313,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -35425,6 +35472,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -35553,6 +35601,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -35699,6 +35748,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -35795,6 +35845,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -35938,6 +35989,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -36175,6 +36227,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -36422,6 +36475,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -36628,6 +36682,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -36741,6 +36796,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -37002,6 +37058,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -37097,6 +37154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -37825,6 +37883,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -37893,6 +37952,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -37987,6 +38047,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -38032,6 +38093,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -38183,6 +38245,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -38507,6 +38570,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -38567,6 +38631,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -38651,6 +38716,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -38704,6 +38770,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -38870,6 +38937,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -38906,6 +38974,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -38942,6 +39011,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -39051,6 +39121,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -39231,6 +39302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -39382,6 +39454,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -39467,6 +39540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -39616,6 +39690,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -39770,6 +39845,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -39818,6 +39894,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -40043,6 +40120,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -40275,6 +40353,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -40449,6 +40528,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -40532,6 +40612,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -40637,6 +40718,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -40805,6 +40887,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -40894,6 +40977,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -41001,6 +41085,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -42103,6 +42188,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -42151,6 +42237,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -42200,6 +42287,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -42330,6 +42418,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -42438,6 +42527,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -42695,6 +42785,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -42846,6 +42937,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -42933,6 +43025,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -43032,6 +43125,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -43144,6 +43238,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -43228,6 +43323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -43348,6 +43444,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -43548,6 +43645,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -43696,6 +43794,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -43834,6 +43933,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -43922,6 +44022,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -44074,6 +44175,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -44186,6 +44288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -44348,6 +44451,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -44720,6 +44824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -44767,6 +44872,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -44916,6 +45022,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -45283,6 +45390,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -45370,6 +45478,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -45468,6 +45577,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -45632,6 +45742,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -45751,6 +45862,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -46009,6 +46121,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -46059,6 +46172,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json index edfe326d02..4548a5d8c1 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json @@ -776,7 +776,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -911,7 +911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1143,7 +1143,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1396,7 +1396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1609,7 +1609,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1876,7 +1876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -1952,7 +1952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2110,7 +2110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2473,7 +2473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2696,7 +2696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2781,7 +2781,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3102,7 +3102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3320,7 +3320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3486,7 +3486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3567,7 +3567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3693,7 +3693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3816,7 +3816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3959,7 +3959,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4249,7 +4249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4377,7 +4377,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4615,7 +4615,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4771,7 +4771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4937,7 +4937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5017,7 +5017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5263,7 +5263,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5426,7 +5426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5666,7 +5666,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6051,7 +6051,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6214,7 +6214,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6708,7 +6708,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6800,7 +6800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6889,7 +6889,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7459,7 +7459,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7832,7 +7832,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8069,7 +8069,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8253,7 +8253,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8429,7 +8429,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8602,7 +8602,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8991,7 +8991,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9232,7 +9232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9400,7 +9400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9467,7 +9467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9642,7 +9642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9958,7 +9958,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10044,7 +10044,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10194,7 +10194,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10543,7 +10543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10891,7 +10891,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -11195,7 +11195,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11333,7 +11333,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11559,7 +11559,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11707,7 +11707,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11927,7 +11927,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -12249,7 +12249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12641,7 +12641,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12897,7 +12897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -13067,7 +13067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13442,7 +13442,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13589,7 +13589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -14696,7 +14696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14799,7 +14799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14943,7 +14943,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15011,7 +15011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15234,7 +15234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15638,7 +15638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15718,7 +15718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15799,7 +15799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -16008,7 +16008,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16183,7 +16183,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16237,7 +16237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16291,7 +16291,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16462,7 +16462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16742,7 +16742,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16971,7 +16971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17100,7 +17100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17323,7 +17323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17561,7 +17561,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17633,7 +17633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17975,7 +17975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18047,7 +18047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18176,7 +18176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18328,7 +18328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18575,7 +18575,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18923,7 +18923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19248,7 +19248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19389,7 +19389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -20965,7 +20965,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21038,7 +21038,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21110,7 +21110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21314,7 +21314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21482,7 +21482,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21871,7 +21871,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -22100,7 +22100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22235,7 +22235,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22367,7 +22367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -22598,7 +22598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -22853,7 +22853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -23100,7 +23100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -23257,7 +23257,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -23424,7 +23424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -23550,7 +23550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -23732,7 +23732,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -24043,7 +24043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -24198,7 +24198,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -24403,7 +24403,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -24543,7 +24543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -24772,7 +24772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -24950,7 +24950,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -25193,7 +25193,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -25750,7 +25750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -25822,7 +25822,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -26048,7 +26048,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -26594,7 +26594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -26729,7 +26729,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -26884,7 +26884,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -27207,7 +27207,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -27389,7 +27389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -27710,7 +27710,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27778,7 +27778,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml index 03aa3e2f10..b70612118c 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml @@ -29005,6 +29005,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -29092,6 +29093,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -29246,6 +29248,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -29416,6 +29419,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -29554,6 +29558,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -29678,6 +29683,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -29727,6 +29733,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -29824,6 +29831,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -30068,6 +30076,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -30227,6 +30236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -30289,6 +30299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -30506,6 +30517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -30645,6 +30657,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -30752,6 +30765,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -30806,6 +30820,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -30887,6 +30902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -30966,6 +30982,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -31057,6 +31074,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -31251,6 +31269,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -31334,6 +31353,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -31491,6 +31511,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -31590,6 +31611,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -31754,6 +31776,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -31860,6 +31883,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -32019,6 +32043,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -32280,6 +32305,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -32388,6 +32414,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -32562,6 +32589,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -32779,6 +32807,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -32838,6 +32867,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -33213,6 +33243,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -33466,6 +33497,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -33625,6 +33657,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -33748,6 +33781,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -33870,6 +33904,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -33982,6 +34017,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -34171,6 +34207,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -34406,6 +34443,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -34519,6 +34557,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -34564,6 +34603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -34681,6 +34721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -34895,6 +34936,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -34953,6 +34995,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -35059,6 +35102,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -35291,6 +35335,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -35519,6 +35564,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -35571,6 +35617,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -35674,6 +35721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -35832,6 +35880,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -35960,6 +36009,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -36106,6 +36156,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -36202,6 +36253,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -36345,6 +36397,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -36582,6 +36635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -36829,6 +36883,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -37035,6 +37090,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -37148,6 +37204,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -37409,6 +37466,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -37504,6 +37562,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -38232,6 +38291,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -38300,6 +38360,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -38394,6 +38455,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -38439,6 +38501,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -38590,6 +38653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -38914,6 +38978,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -38974,6 +39039,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -39058,6 +39124,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -39111,6 +39178,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -39277,6 +39345,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -39313,6 +39382,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -39349,6 +39419,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -39458,6 +39529,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -39638,6 +39710,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -39789,6 +39862,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -39874,6 +39948,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -40023,6 +40098,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -40177,6 +40253,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -40225,6 +40302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -40450,6 +40528,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -40682,6 +40761,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -40856,6 +40936,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -40939,6 +41020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -41044,6 +41126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -41212,6 +41295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -41301,6 +41385,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -41408,6 +41493,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -42510,6 +42596,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -42558,6 +42645,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -42607,6 +42695,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -42737,6 +42826,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -42845,6 +42935,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -43102,6 +43193,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -43253,6 +43345,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -43340,6 +43433,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -43423,6 +43517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -43573,6 +43668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -43739,6 +43835,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -43900,6 +43997,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -43999,6 +44097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -44111,6 +44210,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -44195,6 +44295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -44315,6 +44416,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -44515,6 +44617,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -44663,6 +44766,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -44801,6 +44905,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -44889,6 +44994,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -45041,6 +45147,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -45153,6 +45260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -45315,6 +45423,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -45687,6 +45796,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -45734,6 +45844,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -45883,6 +45994,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -46250,6 +46362,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -46337,6 +46450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -46435,6 +46549,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -46599,6 +46714,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -46718,6 +46834,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -46976,6 +47093,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -47026,6 +47144,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json index ee80a5f118..07914fa739 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json @@ -776,7 +776,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -911,7 +911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1143,7 +1143,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1396,7 +1396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1609,7 +1609,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1876,7 +1876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -1952,7 +1952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2110,7 +2110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2473,7 +2473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2696,7 +2696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2781,7 +2781,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3102,7 +3102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3320,7 +3320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3486,7 +3486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3567,7 +3567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3693,7 +3693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3816,7 +3816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3959,7 +3959,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4245,7 +4245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4372,7 +4372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4610,7 +4610,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4766,7 +4766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4932,7 +4932,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5012,7 +5012,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5258,7 +5258,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5421,7 +5421,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5661,7 +5661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6046,7 +6046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6209,7 +6209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6703,7 +6703,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6795,7 +6795,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6884,7 +6884,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7454,7 +7454,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7827,7 +7827,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8064,7 +8064,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8248,7 +8248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8424,7 +8424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8597,7 +8597,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8986,7 +8986,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9227,7 +9227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9395,7 +9395,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9462,7 +9462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9637,7 +9637,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9953,7 +9953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10039,7 +10039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10189,7 +10189,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10538,7 +10538,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10886,7 +10886,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -11190,7 +11190,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11328,7 +11328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11554,7 +11554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11702,7 +11702,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11922,7 +11922,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -12244,7 +12244,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12636,7 +12636,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12892,7 +12892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -13062,7 +13062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13437,7 +13437,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13584,7 +13584,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -14691,7 +14691,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14794,7 +14794,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14938,7 +14938,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15006,7 +15006,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15229,7 +15229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15633,7 +15633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15713,7 +15713,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15794,7 +15794,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -16003,7 +16003,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16178,7 +16178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16232,7 +16232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16286,7 +16286,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16457,7 +16457,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16737,7 +16737,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16966,7 +16966,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17095,7 +17095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17318,7 +17318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17556,7 +17556,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17628,7 +17628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17970,7 +17970,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18042,7 +18042,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18171,7 +18171,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18323,7 +18323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18570,7 +18570,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18918,7 +18918,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19243,7 +19243,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19384,7 +19384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -20960,7 +20960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21033,7 +21033,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21105,7 +21105,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21309,7 +21309,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21477,7 +21477,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21866,7 +21866,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -22095,7 +22095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22231,7 +22231,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -22449,7 +22449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -22532,7 +22532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -22667,7 +22667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22799,7 +22799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -23030,7 +23030,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -23285,7 +23285,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -23532,7 +23532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -23689,7 +23689,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -23856,7 +23856,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -23982,7 +23982,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -24164,7 +24164,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -24475,7 +24475,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -24630,7 +24630,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -24835,7 +24835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -24975,7 +24975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -25204,7 +25204,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -25382,7 +25382,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -25625,7 +25625,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -26182,7 +26182,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -26254,7 +26254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -26480,7 +26480,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -27026,7 +27026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -27161,7 +27161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -27375,7 +27375,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -27530,7 +27530,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -27740,7 +27740,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -27895,7 +27895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -28218,7 +28218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -28400,7 +28400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -28721,7 +28721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -28789,7 +28789,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml index 6c39fce6ba..ab4fab51ac 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml @@ -29426,6 +29426,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -29513,6 +29514,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -29667,6 +29669,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -29837,6 +29840,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -29975,6 +29979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -30099,6 +30104,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -30148,6 +30154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -30245,6 +30252,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -30489,6 +30497,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -30648,6 +30657,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -30710,6 +30720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -30927,6 +30938,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -31066,6 +31078,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -31173,6 +31186,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -31227,6 +31241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -31308,6 +31323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -31387,6 +31403,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -31478,6 +31495,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -31668,6 +31686,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -31750,6 +31769,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -31907,6 +31927,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -32006,6 +32027,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -32170,6 +32192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -32276,6 +32299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -32435,6 +32459,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -32696,6 +32721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -32804,6 +32830,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -32978,6 +33005,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -33195,6 +33223,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -33254,6 +33283,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -33629,6 +33659,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -33882,6 +33913,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -34041,6 +34073,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -34164,6 +34197,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -34286,6 +34320,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -34398,6 +34433,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -34587,6 +34623,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -34822,6 +34859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -34935,6 +34973,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -34980,6 +35019,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -35097,6 +35137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -35311,6 +35352,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -35369,6 +35411,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -35475,6 +35518,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -35707,6 +35751,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -35935,6 +35980,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -35987,6 +36033,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -36090,6 +36137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -36248,6 +36296,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -36376,6 +36425,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -36522,6 +36572,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -36618,6 +36669,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -36761,6 +36813,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -36998,6 +37051,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -37245,6 +37299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -37451,6 +37506,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -37564,6 +37620,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -37825,6 +37882,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -37920,6 +37978,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -38648,6 +38707,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -38716,6 +38776,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -38810,6 +38871,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -38855,6 +38917,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -39006,6 +39069,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -39330,6 +39394,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -39390,6 +39455,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -39474,6 +39540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -39527,6 +39594,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -39693,6 +39761,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -39729,6 +39798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -39765,6 +39835,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -39874,6 +39945,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -40054,6 +40126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -40205,6 +40278,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -40290,6 +40364,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -40439,6 +40514,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -40593,6 +40669,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -40641,6 +40718,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -40866,6 +40944,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -41098,6 +41177,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -41272,6 +41352,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -41355,6 +41436,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -41460,6 +41542,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -41628,6 +41711,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -41717,6 +41801,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -41824,6 +41909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -42926,6 +43012,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -42974,6 +43061,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -43023,6 +43111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -43153,6 +43242,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -43261,6 +43351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -43518,6 +43609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -43669,6 +43761,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -43755,6 +43848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI @@ -43896,6 +43990,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -43951,6 +44046,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -44038,6 +44134,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -44121,6 +44218,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -44271,6 +44369,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -44437,6 +44536,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -44598,6 +44698,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -44697,6 +44798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -44809,6 +44911,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -44893,6 +44996,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -45013,6 +45117,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -45213,6 +45318,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -45361,6 +45467,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -45499,6 +45606,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -45587,6 +45695,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -45739,6 +45848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -45851,6 +45961,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -46013,6 +46124,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -46385,6 +46497,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -46432,6 +46545,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -46581,6 +46695,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -46948,6 +47063,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -47033,6 +47149,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI @@ -47171,6 +47288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -47269,6 +47387,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI @@ -47404,6 +47523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -47502,6 +47622,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -47666,6 +47787,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -47785,6 +47907,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -48043,6 +48166,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -48093,6 +48217,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ + --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json index 90deb2d14f..3c85afe5fb 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3306,7 +3306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3524,7 +3524,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3690,7 +3690,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3771,7 +3771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3897,7 +3897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -4020,7 +4020,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4163,7 +4163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4449,7 +4449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4576,7 +4576,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4814,7 +4814,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4970,7 +4970,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5136,7 +5136,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5216,7 +5216,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5462,7 +5462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5625,7 +5625,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5865,7 +5865,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6250,7 +6250,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6413,7 +6413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6907,7 +6907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6999,7 +6999,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7088,7 +7088,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7731,7 +7731,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7823,7 +7823,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7906,7 +7906,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -7997,7 +7997,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8370,7 +8370,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8607,7 +8607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8791,7 +8791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8967,7 +8967,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9140,7 +9140,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9529,7 +9529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9770,7 +9770,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9938,7 +9938,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10005,7 +10005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10180,7 +10180,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10496,7 +10496,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10582,7 +10582,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10732,7 +10732,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -11081,7 +11081,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -11720,7 +11720,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -12162,7 +12162,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -12388,7 +12388,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -12536,7 +12536,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -12756,7 +12756,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -13078,7 +13078,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -13470,7 +13470,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -13726,7 +13726,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -13896,7 +13896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -14271,7 +14271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -14418,7 +14418,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -15525,7 +15525,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -15628,7 +15628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -15772,7 +15772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15840,7 +15840,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16063,7 +16063,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -16467,7 +16467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -16547,7 +16547,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -16628,7 +16628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -16837,7 +16837,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -17012,7 +17012,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -17066,7 +17066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -17120,7 +17120,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -17291,7 +17291,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -17571,7 +17571,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -17800,7 +17800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17929,7 +17929,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -18152,7 +18152,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -18390,7 +18390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -18462,7 +18462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -18804,7 +18804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18876,7 +18876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -19005,7 +19005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -19157,7 +19157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19404,7 +19404,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -19752,7 +19752,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20077,7 +20077,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -20218,7 +20218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -21977,7 +21977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -22050,7 +22050,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -22122,7 +22122,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22326,7 +22326,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -22494,7 +22494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -22883,7 +22883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -23112,7 +23112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23248,7 +23248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -23466,7 +23466,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -23549,7 +23549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -23684,7 +23684,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -23816,7 +23816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -24047,7 +24047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -24302,7 +24302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -24549,7 +24549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -24706,7 +24706,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -24873,7 +24873,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -24999,7 +24999,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -25181,7 +25181,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -25492,7 +25492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -25647,7 +25647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -25852,7 +25852,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -25992,7 +25992,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -26221,7 +26221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -26399,7 +26399,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -26642,7 +26642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -27199,7 +27199,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -27271,7 +27271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -27497,7 +27497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -28043,7 +28043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -28178,7 +28178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -28392,7 +28392,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -28547,7 +28547,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -28757,7 +28757,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -28912,7 +28912,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -29235,7 +29235,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -29417,7 +29417,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -29738,7 +29738,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -29849,7 +29849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml index 89d6f0be80..5e77030fd9 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml @@ -29947,6 +29947,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -30034,6 +30035,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -30188,6 +30190,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -30302,6 +30305,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI @@ -30449,6 +30453,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -30630,6 +30635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -30754,6 +30760,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -30803,6 +30810,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -30900,6 +30908,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -31144,6 +31153,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -31303,6 +31313,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -31365,6 +31376,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -31582,6 +31594,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -31721,6 +31734,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -31828,6 +31842,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -31882,6 +31897,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -31963,6 +31979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -32042,6 +32059,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -32133,6 +32151,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -32323,6 +32342,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -32405,6 +32425,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -32562,6 +32583,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -32661,6 +32683,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -32825,6 +32848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -33087,6 +33111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -33246,6 +33271,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -33507,6 +33533,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -33615,6 +33642,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -33789,6 +33817,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -34006,6 +34035,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -34065,6 +34095,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -34489,6 +34520,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -34551,6 +34583,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -34607,6 +34640,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI @@ -34668,6 +34702,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -34921,6 +34956,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -35080,6 +35116,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -35203,6 +35240,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -35325,6 +35363,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -35437,6 +35476,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -35626,6 +35666,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -35861,6 +35902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -35974,6 +36016,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -36019,6 +36062,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -36136,6 +36180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -36350,6 +36395,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -36408,6 +36454,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -36514,6 +36561,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -36746,6 +36794,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -36974,6 +37023,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -37026,6 +37076,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -37168,6 +37219,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -37326,6 +37378,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -37454,6 +37507,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -37600,6 +37654,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -37696,6 +37751,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -37839,6 +37895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -38076,6 +38133,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -38323,6 +38381,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -38529,6 +38588,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -38642,6 +38702,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -38903,6 +38964,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -38998,6 +39060,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -39726,6 +39789,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -39794,6 +39858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -39888,6 +39953,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -39933,6 +39999,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -40084,6 +40151,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -40408,6 +40476,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -40468,6 +40537,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -40552,6 +40622,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -40605,6 +40676,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -40771,6 +40843,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -40807,6 +40880,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -40843,6 +40917,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -40952,6 +41027,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -41132,6 +41208,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -41283,6 +41360,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -41368,6 +41446,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -41517,6 +41596,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -41671,6 +41751,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -41719,6 +41800,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -41944,6 +42026,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -42176,6 +42259,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -42350,6 +42434,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -42433,6 +42518,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -42538,6 +42624,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -42706,6 +42793,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -42795,6 +42883,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -42902,6 +42991,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -44122,6 +44212,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -44170,6 +44261,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -44219,6 +44311,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -44349,6 +44442,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -44457,6 +44551,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -44714,6 +44809,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -44865,6 +44961,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -44951,6 +45048,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI @@ -45092,6 +45190,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -45147,6 +45246,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -45234,6 +45334,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -45317,6 +45418,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -45467,6 +45569,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -45633,6 +45736,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -45794,6 +45898,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -45893,6 +45998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -46005,6 +46111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -46089,6 +46196,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -46209,6 +46317,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -46409,6 +46518,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -46557,6 +46667,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -46695,6 +46806,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -46783,6 +46895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -46935,6 +47048,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -47047,6 +47161,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -47209,6 +47324,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -47581,6 +47697,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -47628,6 +47745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -47777,6 +47895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -48144,6 +48263,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -48229,6 +48349,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI @@ -48367,6 +48488,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -48465,6 +48587,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI @@ -48600,6 +48723,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -48698,6 +48822,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -48862,6 +48987,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -48981,6 +49107,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -49239,6 +49366,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -49319,6 +49447,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ + --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json index a67a10d996..d988fb5901 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -5049,7 +5049,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5215,7 +5215,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5295,7 +5295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5541,7 +5541,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6329,7 +6329,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6492,7 +6492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6986,7 +6986,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7078,7 +7078,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7167,7 +7167,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7810,7 +7810,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7902,7 +7902,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7985,7 +7985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8076,7 +8076,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8449,7 +8449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8686,7 +8686,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8870,7 +8870,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9046,7 +9046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9219,7 +9219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9608,7 +9608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9849,7 +9849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -10017,7 +10017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10084,7 +10084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10259,7 +10259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10573,7 +10573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10657,7 +10657,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10834,7 +10834,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -11260,7 +11260,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11544,7 +11544,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11693,7 +11693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -12042,7 +12042,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12431,7 +12431,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12512,7 +12512,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12851,7 +12851,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -13155,7 +13155,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13293,7 +13293,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13519,7 +13519,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13667,7 +13667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13887,7 +13887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -14209,7 +14209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14601,7 +14601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14857,7 +14857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -15027,7 +15027,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15402,7 +15402,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15549,7 +15549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -16656,7 +16656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16759,7 +16759,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16903,7 +16903,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16971,7 +16971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17194,7 +17194,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17598,7 +17598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17676,7 +17676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17754,7 +17754,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17962,7 +17962,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -18137,7 +18137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18191,7 +18191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18245,7 +18245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18416,7 +18416,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18696,7 +18696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18925,7 +18925,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -19054,7 +19054,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19277,7 +19277,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19515,7 +19515,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19587,7 +19587,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19929,7 +19929,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -20001,7 +20001,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20130,7 +20130,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20282,7 +20282,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20529,7 +20529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20877,7 +20877,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -21202,7 +21202,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21343,7 +21343,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -23102,7 +23102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23175,7 +23175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23247,7 +23247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23451,7 +23451,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23619,7 +23619,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -24008,7 +24008,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24237,7 +24237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24373,7 +24373,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24591,7 +24591,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24674,7 +24674,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24809,7 +24809,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24941,7 +24941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -25172,7 +25172,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25427,7 +25427,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25674,7 +25674,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25757,7 +25757,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25995,7 +25995,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26076,7 +26076,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26314,7 +26314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26481,7 +26481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26607,7 +26607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26789,7 +26789,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -27100,7 +27100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27165,7 +27165,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27320,7 +27320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27525,7 +27525,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -27665,7 +27665,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -27894,7 +27894,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -28072,7 +28072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28315,7 +28315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -28872,7 +28872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -28944,7 +28944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29170,7 +29170,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -29716,7 +29716,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -29851,7 +29851,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -30065,7 +30065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30220,7 +30220,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30430,7 +30430,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -30585,7 +30585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -30908,7 +30908,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -31090,7 +31090,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31411,7 +31411,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31522,7 +31522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml index 37e769e2e3..97f33b81ed 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml @@ -30214,6 +30214,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -30301,6 +30302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -30455,6 +30457,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -30569,6 +30572,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI @@ -30716,6 +30720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -30897,6 +30902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -31021,6 +31027,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -31070,6 +31077,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -31167,6 +31175,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -31411,6 +31420,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -31570,6 +31580,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -31632,6 +31643,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -31848,6 +31860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -31986,6 +31999,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -32093,6 +32107,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32147,6 +32162,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32228,6 +32244,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -32307,6 +32324,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -32432,6 +32450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -32642,6 +32661,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -32724,6 +32744,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -32881,6 +32902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -32980,6 +33002,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -33144,6 +33167,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -33406,6 +33430,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -33565,6 +33590,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -33826,6 +33852,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -33934,6 +33961,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -34108,6 +34136,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -34325,6 +34354,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -34384,6 +34414,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -34808,6 +34839,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -34870,6 +34902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -34926,6 +34959,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI @@ -34987,6 +35021,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -35240,6 +35275,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -35399,6 +35435,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -35522,6 +35559,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -35644,6 +35682,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -35756,6 +35795,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -35945,6 +35985,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -36180,6 +36221,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -36293,6 +36335,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -36338,6 +36381,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -36455,6 +36499,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -36666,6 +36711,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -36722,6 +36768,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -36839,6 +36886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI @@ -37121,6 +37169,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI @@ -37312,6 +37361,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI @@ -37417,6 +37467,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -37649,6 +37700,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -37753,6 +37805,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -37807,6 +37860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -37990,6 +38044,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -38042,6 +38097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -38184,6 +38240,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -38342,6 +38399,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -38470,6 +38528,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -38616,6 +38675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -38712,6 +38772,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -38855,6 +38916,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -39092,6 +39154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -39339,6 +39402,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -39545,6 +39609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -39658,6 +39723,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -39919,6 +39985,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -40014,6 +40081,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -40742,6 +40810,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -40810,6 +40879,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -40904,6 +40974,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -40949,6 +41020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -41100,6 +41172,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -41424,6 +41497,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -41482,6 +41556,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -41565,6 +41640,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -41616,6 +41692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -41781,6 +41858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -41817,6 +41895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -41853,6 +41932,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -41962,6 +42042,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -42142,6 +42223,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -42293,6 +42375,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -42378,6 +42461,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -42527,6 +42611,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -42681,6 +42766,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -42729,6 +42815,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -42954,6 +43041,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -43186,6 +43274,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -43360,6 +43449,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -43443,6 +43533,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -43548,6 +43639,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -43716,6 +43808,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -43805,6 +43898,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -43912,6 +44006,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -45132,6 +45227,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -45180,6 +45276,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -45229,6 +45326,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -45359,6 +45457,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -45467,6 +45566,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -45724,6 +45824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -45875,6 +45976,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -45961,6 +46063,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI @@ -46102,6 +46205,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -46157,6 +46261,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -46244,6 +46349,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -46327,6 +46433,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -46477,6 +46584,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -46643,6 +46751,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -46804,6 +46913,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -46858,6 +46968,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI @@ -47012,6 +47123,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI @@ -47065,6 +47177,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI @@ -47213,6 +47326,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -47325,6 +47439,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -47409,6 +47524,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -47529,6 +47645,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -47729,6 +47846,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -47772,6 +47890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI @@ -47920,6 +48039,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -48058,6 +48178,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -48146,6 +48267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -48298,6 +48420,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -48410,6 +48533,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -48572,6 +48696,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -48944,6 +49069,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -48991,6 +49117,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -49140,6 +49267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -49507,6 +49635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -49592,6 +49721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI @@ -49730,6 +49860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -49828,6 +49959,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI @@ -49963,6 +50095,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -50061,6 +50194,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -50225,6 +50359,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -50344,6 +50479,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -50602,6 +50738,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -50682,6 +50819,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ + --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json index fdb3d2188e..04c1806404 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -5053,7 +5053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5218,7 +5218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5298,7 +5298,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5542,7 +5542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6324,7 +6324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6486,7 +6486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6980,7 +6980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7072,7 +7072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7161,7 +7161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7804,7 +7804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7896,7 +7896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7979,7 +7979,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8070,7 +8070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8443,7 +8443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8676,7 +8676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8857,7 +8857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9032,7 +9032,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9205,7 +9205,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9594,7 +9594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9835,7 +9835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -10000,7 +10000,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10066,7 +10066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10241,7 +10241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10555,7 +10555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10639,7 +10639,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10816,7 +10816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -11242,7 +11242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11526,7 +11526,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11675,7 +11675,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12413,7 +12413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12494,7 +12494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12833,7 +12833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -13137,7 +13137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13275,7 +13275,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13501,7 +13501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13649,7 +13649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13869,7 +13869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -14191,7 +14191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14583,7 +14583,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14839,7 +14839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -15009,7 +15009,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15384,7 +15384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15531,7 +15531,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -16638,7 +16638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16741,7 +16741,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16885,7 +16885,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16953,7 +16953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17176,7 +17176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17580,7 +17580,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17658,7 +17658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17736,7 +17736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17944,7 +17944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -18119,7 +18119,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18173,7 +18173,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18227,7 +18227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18398,7 +18398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18678,7 +18678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18907,7 +18907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -19036,7 +19036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19259,7 +19259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19497,7 +19497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19569,7 +19569,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19911,7 +19911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -19983,7 +19983,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20112,7 +20112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20264,7 +20264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20511,7 +20511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20859,7 +20859,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -21184,7 +21184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21325,7 +21325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -23084,7 +23084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23157,7 +23157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23229,7 +23229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23433,7 +23433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23601,7 +23601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -23990,7 +23990,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24219,7 +24219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24355,7 +24355,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24573,7 +24573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24656,7 +24656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24791,7 +24791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24923,7 +24923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -25154,7 +25154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25409,7 +25409,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25656,7 +25656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25739,7 +25739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25977,7 +25977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26058,7 +26058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26296,7 +26296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26463,7 +26463,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26589,7 +26589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -27082,7 +27082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27147,7 +27147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27302,7 +27302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27507,7 +27507,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -27647,7 +27647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -27876,7 +27876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -28054,7 +28054,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28297,7 +28297,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -28854,7 +28854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -28926,7 +28926,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29152,7 +29152,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -29698,7 +29698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -29833,7 +29833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -30047,7 +30047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30202,7 +30202,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30412,7 +30412,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -30567,7 +30567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -30890,7 +30890,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -31072,7 +31072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31393,7 +31393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31504,7 +31504,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml index fea59b727b..16dca8d65a 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml @@ -30492,6 +30492,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -30579,6 +30580,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -30733,6 +30735,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -30847,6 +30850,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI @@ -30994,6 +30998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -31175,6 +31180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -31299,6 +31305,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -31348,6 +31355,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -31445,6 +31453,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -31689,6 +31698,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -31848,6 +31858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -31910,6 +31921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -32126,6 +32138,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -32264,6 +32277,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -32371,6 +32385,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32425,6 +32440,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32506,6 +32522,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -32585,6 +32602,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -32710,6 +32728,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -32920,6 +32939,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -33002,6 +33022,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -33159,6 +33180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -33383,6 +33405,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -33544,6 +33567,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -33805,6 +33829,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -33964,6 +33989,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -34220,6 +34246,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -34327,6 +34354,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -34501,6 +34529,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -34718,6 +34747,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -34777,6 +34807,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -35201,6 +35232,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -35263,6 +35295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -35319,6 +35352,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI @@ -35380,6 +35414,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -35633,6 +35668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -35788,6 +35824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -35908,6 +35945,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -36029,6 +36067,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -36141,6 +36180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -36330,6 +36370,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -36565,6 +36606,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -36675,6 +36717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -36719,6 +36762,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -36836,6 +36880,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -37047,6 +37092,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -37103,6 +37149,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -37220,6 +37267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI @@ -37502,6 +37550,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI @@ -37693,6 +37742,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI @@ -37798,6 +37848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -38030,6 +38081,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -38134,6 +38186,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -38188,6 +38241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -38371,6 +38425,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -38423,6 +38478,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -38565,6 +38621,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -38723,6 +38780,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -38851,6 +38909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -38997,6 +39056,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -39093,6 +39153,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -39236,6 +39297,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -39473,6 +39535,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -39720,6 +39783,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -39926,6 +39990,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -40039,6 +40104,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -40300,6 +40366,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -40395,6 +40462,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -41123,6 +41191,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -41191,6 +41260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -41285,6 +41355,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -41330,6 +41401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -41481,6 +41553,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -41805,6 +41878,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -41863,6 +41937,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -41946,6 +42021,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -41997,6 +42073,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -42162,6 +42239,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -42198,6 +42276,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -42234,6 +42313,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -42343,6 +42423,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -42523,6 +42604,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -42674,6 +42756,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -42759,6 +42842,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -42908,6 +42992,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -43062,6 +43147,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -43110,6 +43196,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -43335,6 +43422,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -43567,6 +43655,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -43741,6 +43830,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -43824,6 +43914,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -43929,6 +44020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -44097,6 +44189,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -44186,6 +44279,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -44293,6 +44387,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -45513,6 +45608,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -45561,6 +45657,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -45610,6 +45707,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -45740,6 +45838,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -45848,6 +45947,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -46105,6 +46205,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -46256,6 +46357,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -46342,6 +46444,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI @@ -46483,6 +46586,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -46538,6 +46642,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -46625,6 +46730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -46708,6 +46814,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -46858,6 +46965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -47024,6 +47132,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -47185,6 +47294,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -47239,6 +47349,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI @@ -47393,6 +47504,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI @@ -47446,6 +47558,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI @@ -47594,6 +47707,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -47706,6 +47820,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -47790,6 +47905,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -47910,6 +48026,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -48110,6 +48227,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -48153,6 +48271,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI @@ -48301,6 +48420,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -48439,6 +48559,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -48527,6 +48648,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -48679,6 +48801,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -48791,6 +48914,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -48953,6 +49077,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -49325,6 +49450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -49372,6 +49498,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -49521,6 +49648,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -49888,6 +50016,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -49973,6 +50102,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI @@ -50111,6 +50241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -50209,6 +50340,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI @@ -50344,6 +50476,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -50442,6 +50575,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -50606,6 +50740,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -50725,6 +50860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -50983,6 +51119,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -51063,6 +51200,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ + --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json index a33db87a78..2758629645 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -5053,7 +5053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5218,7 +5218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5298,7 +5298,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5542,7 +5542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6324,7 +6324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6486,7 +6486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6980,7 +6980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7072,7 +7072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7161,7 +7161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7804,7 +7804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7896,7 +7896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7979,7 +7979,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8070,7 +8070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8443,7 +8443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8676,7 +8676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8857,7 +8857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9032,7 +9032,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9205,7 +9205,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9594,7 +9594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9835,7 +9835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -10000,7 +10000,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10066,7 +10066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10241,7 +10241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10555,7 +10555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10639,7 +10639,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10816,7 +10816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -11242,7 +11242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11526,7 +11526,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11675,7 +11675,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12413,7 +12413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12494,7 +12494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12833,7 +12833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -13137,7 +13137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13275,7 +13275,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13501,7 +13501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13649,7 +13649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13869,7 +13869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -14191,7 +14191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14583,7 +14583,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14839,7 +14839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -15009,7 +15009,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15384,7 +15384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15531,7 +15531,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -16638,7 +16638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16741,7 +16741,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16885,7 +16885,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16953,7 +16953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17176,7 +17176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17580,7 +17580,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17658,7 +17658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17736,7 +17736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17944,7 +17944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -18119,7 +18119,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18173,7 +18173,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18227,7 +18227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18398,7 +18398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18678,7 +18678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18907,7 +18907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -19036,7 +19036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19259,7 +19259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19497,7 +19497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19569,7 +19569,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19911,7 +19911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -19983,7 +19983,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20112,7 +20112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20264,7 +20264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20511,7 +20511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20859,7 +20859,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -21184,7 +21184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21325,7 +21325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -23084,7 +23084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23157,7 +23157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23229,7 +23229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23433,7 +23433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23601,7 +23601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -23990,7 +23990,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24219,7 +24219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24355,7 +24355,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24573,7 +24573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24656,7 +24656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24791,7 +24791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24923,7 +24923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -25154,7 +25154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25409,7 +25409,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25656,7 +25656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25739,7 +25739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25977,7 +25977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26058,7 +26058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26296,7 +26296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26463,7 +26463,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26589,7 +26589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -27082,7 +27082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27220,7 +27220,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/uss\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/uss\"\n -d { }" }, { "lang": "cURL", @@ -27452,7 +27452,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/uss/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/uss/{name}\"\n -d { }" }, { "lang": "cURL", @@ -27517,7 +27517,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27672,7 +27672,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27877,7 +27877,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -28017,7 +28017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -28246,7 +28246,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -28424,7 +28424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28667,7 +28667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -29224,7 +29224,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29296,7 +29296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29522,7 +29522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -30154,7 +30154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -30289,7 +30289,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -30503,7 +30503,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30658,7 +30658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30868,7 +30868,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -31023,7 +31023,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -31346,7 +31346,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -31528,7 +31528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31849,7 +31849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31960,7 +31960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml index 9d72f3d3ba..133294c253 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml @@ -30904,6 +30904,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI @@ -30991,6 +30992,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI @@ -31145,6 +31147,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI @@ -31259,6 +31262,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI @@ -31406,6 +31410,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI @@ -31587,6 +31592,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups" -d { } - label: Atlas CLI @@ -31711,6 +31717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI @@ -31760,6 +31767,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI @@ -31857,6 +31865,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI @@ -32101,6 +32110,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI @@ -32260,6 +32270,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -32322,6 +32333,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI @@ -32538,6 +32550,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI @@ -32676,6 +32689,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI @@ -32783,6 +32797,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32837,6 +32852,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -32918,6 +32934,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI @@ -32997,6 +33014,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI @@ -33122,6 +33140,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI @@ -33332,6 +33351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI @@ -33414,6 +33434,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI @@ -33571,6 +33592,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI @@ -33795,6 +33817,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI @@ -33956,6 +33979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI @@ -34217,6 +34241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI @@ -34376,6 +34401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -34632,6 +34658,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI @@ -34739,6 +34766,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI @@ -34913,6 +34941,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -35130,6 +35159,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI @@ -35189,6 +35219,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI @@ -35613,6 +35644,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -35675,6 +35707,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI @@ -35731,6 +35764,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI @@ -35792,6 +35826,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI @@ -36045,6 +36080,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI @@ -36200,6 +36236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI @@ -36320,6 +36357,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI @@ -36441,6 +36479,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI @@ -36553,6 +36592,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI @@ -36742,6 +36782,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI @@ -36977,6 +37018,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI @@ -37087,6 +37129,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI @@ -37131,6 +37174,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI @@ -37248,6 +37292,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI @@ -37459,6 +37504,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -37515,6 +37561,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI @@ -37632,6 +37679,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI @@ -37914,6 +37962,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI @@ -38105,6 +38154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI @@ -38210,6 +38260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI @@ -38442,6 +38493,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI @@ -38546,6 +38598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -38600,6 +38653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI @@ -38783,6 +38837,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI @@ -38835,6 +38890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI @@ -38977,6 +39033,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI @@ -39135,6 +39192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI @@ -39263,6 +39321,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI @@ -39409,6 +39468,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI @@ -39505,6 +39565,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI @@ -39648,6 +39709,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI @@ -39885,6 +39947,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI @@ -40132,6 +40195,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI @@ -40338,6 +40402,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI @@ -40451,6 +40516,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI @@ -40712,6 +40778,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI @@ -40807,6 +40874,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI @@ -41535,6 +41603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -41603,6 +41672,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI @@ -41697,6 +41767,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -41742,6 +41813,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI @@ -41893,6 +41965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -42217,6 +42290,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI @@ -42275,6 +42349,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI @@ -42358,6 +42433,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI @@ -42409,6 +42485,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI @@ -42574,6 +42651,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI @@ -42610,6 +42688,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI @@ -42646,6 +42725,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI @@ -42755,6 +42835,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI @@ -42935,6 +43016,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI @@ -43086,6 +43168,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI @@ -43171,6 +43254,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI @@ -43320,6 +43404,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI @@ -43474,6 +43559,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI @@ -43522,6 +43608,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI @@ -43747,6 +43834,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI @@ -43979,6 +44067,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI @@ -44153,6 +44242,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI @@ -44236,6 +44326,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI @@ -44341,6 +44432,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI @@ -44509,6 +44601,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI @@ -44598,6 +44691,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI @@ -44705,6 +44799,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI @@ -45925,6 +46020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -45973,6 +46069,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI @@ -46022,6 +46119,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI @@ -46152,6 +46250,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI @@ -46260,6 +46359,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI @@ -46517,6 +46617,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI @@ -46668,6 +46769,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI @@ -46754,6 +46856,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI @@ -46895,6 +46998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -46950,6 +47054,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -47037,6 +47142,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI @@ -47120,6 +47226,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI @@ -47270,6 +47377,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI @@ -47436,6 +47544,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI @@ -47597,6 +47706,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI @@ -47651,6 +47761,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI @@ -47805,6 +47916,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI @@ -47858,6 +47970,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI @@ -48006,6 +48119,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI @@ -48118,6 +48232,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -48202,6 +48317,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI @@ -48322,6 +48438,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI @@ -48522,6 +48639,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -48608,6 +48726,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}/uss" -d { } - label: Atlas CLI @@ -48761,6 +48880,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/groups/{groupId}/uss/{name}" -d { } - label: Atlas CLI @@ -48804,6 +48924,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI @@ -48952,6 +49073,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs" -d { } - label: Atlas CLI @@ -49090,6 +49212,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI @@ -49178,6 +49301,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI @@ -49330,6 +49454,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI @@ -49442,6 +49567,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI @@ -49604,6 +49730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI @@ -49976,6 +50103,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -50023,6 +50151,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI @@ -50172,6 +50301,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI @@ -50594,6 +50724,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI @@ -50679,6 +50810,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI @@ -50817,6 +50949,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI @@ -50915,6 +51048,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI @@ -51050,6 +51184,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI @@ -51148,6 +51283,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI @@ -51312,6 +51448,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI @@ -51431,6 +51568,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI @@ -51689,6 +51827,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI @@ -51769,6 +51908,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ + --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ -X POST "/api/atlas/v2/users" -d { } - label: Atlas CLI From 694dde650f381d3fbf0595f321c3400c6acb1862 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Wed, 21 May 2025 11:35:26 +0200 Subject: [PATCH 12/13] fix: add `https://cloud.mongodb.com` to curl examples --- .../internal/openapi/filter/code_sample.go | 6 +- .../data/split/dev/openapi-v2-2023-01-01.json | 674 +++++++-------- .../data/split/dev/openapi-v2-2023-01-01.yaml | 674 +++++++-------- .../data/split/dev/openapi-v2-2023-02-01.json | 698 +++++++-------- .../data/split/dev/openapi-v2-2023-02-01.yaml | 698 +++++++-------- .../data/split/dev/openapi-v2-2023-10-01.json | 726 ++++++++-------- .../data/split/dev/openapi-v2-2023-10-01.yaml | 726 ++++++++-------- .../data/split/dev/openapi-v2-2023-11-15.json | 752 ++++++++-------- .../data/split/dev/openapi-v2-2023-11-15.yaml | 752 ++++++++-------- .../data/split/dev/openapi-v2-2024-05-30.json | 788 ++++++++--------- .../data/split/dev/openapi-v2-2024-05-30.yaml | 788 ++++++++--------- .../data/split/dev/openapi-v2-2024-08-05.json | 788 ++++++++--------- .../data/split/dev/openapi-v2-2024-08-05.yaml | 788 ++++++++--------- .../data/split/dev/openapi-v2-2025-01-01.json | 800 +++++++++--------- .../data/split/dev/openapi-v2-2025-01-01.yaml | 800 +++++++++--------- 15 files changed, 5229 insertions(+), 5229 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample.go b/tools/cli/internal/openapi/filter/code_sample.go index 5f6036e0ed..5b0087f68c 100644 --- a/tools/cli/internal/openapi/filter/code_sample.go +++ b/tools/cli/internal/openapi/filter/code_sample.go @@ -61,12 +61,12 @@ func (f *CodeSampleFilter) newCurlCodeSamplesForOperation(pathName, opMethod str switch opMethod { case "GET": - source += "-X " + opMethod + " \"" + pathName + "?pretty=true\"" + source += "-X " + opMethod + " \"https://cloud.mongodb.com" + pathName + "?pretty=true\"" case "DELETE": - source += "-X " + opMethod + " \"" + pathName + "\"" + source += "-X " + opMethod + " \"https://cloud.mongodb.com" + pathName + "\"" case "POST", "PATCH", "PUT": source += "--header \"Content-Type: application/vnd.atlas." + version + "+json\" \\\n " - source += "-X " + opMethod + " \"" + pathName + "\"\n " + source += "-X " + opMethod + " \"https://cloud.mongodb.com" + pathName + "\"\n " source += "-d " + "{ }" } diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json index cdafb2f5b4..2abce759e1 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.json @@ -243,7 +243,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -300,7 +300,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -363,7 +363,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -426,7 +426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -480,7 +480,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -546,7 +546,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -619,7 +619,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -690,7 +690,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -772,7 +772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -835,7 +835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -907,7 +907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -980,7 +980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1054,7 +1054,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1139,7 +1139,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1237,7 +1237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1311,7 +1311,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1392,7 +1392,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1453,7 +1453,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1519,7 +1519,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1605,7 +1605,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1679,7 +1679,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1739,7 +1739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -1797,7 +1797,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -1872,7 +1872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -1942,7 +1942,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2030,7 +2030,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2105,7 +2105,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2181,7 +2181,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2258,7 +2258,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2324,7 +2324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2393,7 +2393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2463,7 +2463,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2534,7 +2534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2616,7 +2616,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2701,7 +2701,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2783,7 +2783,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -2865,7 +2865,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -2937,7 +2937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3022,7 +3022,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3104,7 +3104,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3174,7 +3174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3240,7 +3240,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3316,7 +3316,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3406,7 +3406,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3487,7 +3487,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3544,7 +3544,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3613,7 +3613,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3670,7 +3670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -3736,7 +3736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3803,7 +3803,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -3879,7 +3879,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -3953,7 +3953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4022,7 +4022,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4084,7 +4084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4169,7 +4169,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4227,7 +4227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4297,7 +4297,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4378,7 +4378,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4447,7 +4447,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4535,7 +4535,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4611,7 +4611,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -4691,7 +4691,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4777,7 +4777,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -4857,7 +4857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -4937,7 +4937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5021,7 +5021,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5096,7 +5096,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5185,7 +5185,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5264,7 +5264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5348,7 +5348,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5423,7 +5423,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5501,7 +5501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5588,7 +5588,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -5672,7 +5672,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -5751,7 +5751,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -5821,7 +5821,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -5890,7 +5890,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -5973,7 +5973,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6055,7 +6055,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6136,7 +6136,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6217,7 +6217,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6299,7 +6299,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6371,7 +6371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6455,7 +6455,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6537,7 +6537,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6630,7 +6630,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6722,7 +6722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6811,7 +6811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -6883,7 +6883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -6967,7 +6967,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7039,7 +7039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7123,7 +7123,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7202,7 +7202,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7290,7 +7290,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7381,7 +7381,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7477,7 +7477,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -7567,7 +7567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -7652,7 +7652,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -7754,7 +7754,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -7829,7 +7829,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -7904,7 +7904,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -7991,7 +7991,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8085,7 +8085,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8175,7 +8175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8351,7 +8351,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8433,7 +8433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -8524,7 +8524,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8633,7 +8633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -8721,7 +8721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -8810,7 +8810,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -8913,7 +8913,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -8992,7 +8992,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9069,7 +9069,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9154,7 +9154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9231,7 +9231,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -9322,7 +9322,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9390,7 +9390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9484,7 +9484,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -9566,7 +9566,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9651,7 +9651,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -9724,7 +9724,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -9796,7 +9796,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -9882,7 +9882,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -9968,7 +9968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10039,7 +10039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -10118,7 +10118,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10211,7 +10211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -10296,7 +10296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -10376,7 +10376,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -10467,7 +10467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10536,7 +10536,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -10654,7 +10654,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -10739,7 +10739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -10817,7 +10817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -10883,7 +10883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -10962,7 +10962,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -11030,7 +11030,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -11121,7 +11121,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11181,7 +11181,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -11259,7 +11259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11331,7 +11331,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -11398,7 +11398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -11485,7 +11485,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11558,7 +11558,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -11633,7 +11633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11699,7 +11699,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -11766,7 +11766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -11853,7 +11853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -11925,7 +11925,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -12003,7 +12003,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -12082,7 +12082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -12175,7 +12175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12271,7 +12271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -12337,7 +12337,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -12567,7 +12567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12649,7 +12649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -12726,7 +12726,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -12823,7 +12823,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -12901,7 +12901,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -12993,7 +12993,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13116,7 +13116,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -13236,7 +13236,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -13293,7 +13293,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -13368,7 +13368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13437,7 +13437,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -13515,7 +13515,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -13607,7 +13607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -13686,7 +13686,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -13819,7 +13819,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -13900,7 +13900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -13960,7 +13960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -14066,7 +14066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14175,7 +14175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14276,7 +14276,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14348,7 +14348,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -14433,7 +14433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -14516,7 +14516,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -14622,7 +14622,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14725,7 +14725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14795,7 +14795,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -14869,7 +14869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -14937,7 +14937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15005,7 +15005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -15077,7 +15077,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -15160,7 +15160,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15221,7 +15221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -15290,7 +15290,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -15377,7 +15377,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -15465,7 +15465,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -15564,7 +15564,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15644,7 +15644,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15725,7 +15725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -15802,7 +15802,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -15868,7 +15868,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -15934,7 +15934,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -15988,7 +15988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -16043,7 +16043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -16109,7 +16109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16163,7 +16163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16217,7 +16217,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16274,7 +16274,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -16331,7 +16331,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -16388,7 +16388,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16506,7 +16506,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -16589,7 +16589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -16668,7 +16668,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16740,7 +16740,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -16810,7 +16810,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -16897,7 +16897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -16957,7 +16957,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -17026,7 +17026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17095,7 +17095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -17165,7 +17165,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -17249,7 +17249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17324,7 +17324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -17415,7 +17415,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -17487,7 +17487,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17559,7 +17559,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17650,7 +17650,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -17735,7 +17735,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -17818,7 +17818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -17901,7 +17901,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -17973,7 +17973,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18033,7 +18033,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -18102,7 +18102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18173,7 +18173,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -18254,7 +18254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18334,7 +18334,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -18412,7 +18412,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -18501,7 +18501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18576,7 +18576,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -18660,7 +18660,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -18745,7 +18745,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -18849,7 +18849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18943,7 +18943,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -19038,7 +19038,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19100,7 +19100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -19174,7 +19174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19246,7 +19246,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -19315,7 +19315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -19387,7 +19387,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -19460,7 +19460,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19526,7 +19526,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -19594,7 +19594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -19671,7 +19671,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -19748,7 +19748,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -19864,7 +19864,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -19941,7 +19941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -20015,7 +20015,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -20140,7 +20140,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20372,7 +20372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20458,7 +20458,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -20568,7 +20568,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -20694,7 +20694,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -20757,7 +20757,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -20818,7 +20818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -20891,7 +20891,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -20964,7 +20964,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21036,7 +21036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21102,7 +21102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -21168,7 +21168,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -21240,7 +21240,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21321,7 +21321,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -21408,7 +21408,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21492,7 +21492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -21573,7 +21573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -21655,7 +21655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -21724,7 +21724,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -21797,7 +21797,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -21872,7 +21872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -21945,7 +21945,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -22026,7 +22026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22089,7 +22089,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -22161,7 +22161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22236,7 +22236,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -22318,7 +22318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -22394,7 +22394,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -22485,7 +22485,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -22542,7 +22542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -22611,7 +22611,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -22665,7 +22665,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -22722,7 +22722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -22793,7 +22793,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -22862,7 +22862,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -22946,7 +22946,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -23018,7 +23018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -23104,7 +23104,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -23184,7 +23184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -23259,7 +23259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -23325,7 +23325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -23389,7 +23389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -23464,7 +23464,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -23534,7 +23534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -23604,7 +23604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -23677,7 +23677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -23748,7 +23748,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -23833,7 +23833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -23915,7 +23915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -24011,7 +24011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -24101,7 +24101,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -24186,7 +24186,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -24254,7 +24254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -24335,7 +24335,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -24440,7 +24440,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -24521,7 +24521,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -24584,7 +24584,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -24664,7 +24664,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -24739,7 +24739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -24811,7 +24811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -24883,7 +24883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -24955,7 +24955,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -25025,7 +25025,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -25109,7 +25109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -25257,7 +25257,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -25317,7 +25317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -25395,7 +25395,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -25466,7 +25466,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -25529,7 +25529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -25586,7 +25586,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -25655,7 +25655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -25718,7 +25718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -25790,7 +25790,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -25866,7 +25866,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -25945,7 +25945,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26021,7 +26021,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -26100,7 +26100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -26177,7 +26177,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -26268,7 +26268,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26356,7 +26356,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -26450,7 +26450,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -26538,7 +26538,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -26610,7 +26610,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -26685,7 +26685,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -26839,7 +26839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -26906,7 +26906,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -26975,7 +26975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml index 0b868b9db5..dbeaff795d 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-01-01.yaml @@ -28299,7 +28299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -28336,7 +28336,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -28374,7 +28374,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -28412,7 +28412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -28448,7 +28448,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -28489,7 +28489,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -28538,7 +28538,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -28586,7 +28586,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -28642,7 +28642,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -28683,7 +28683,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -28730,7 +28730,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -28779,7 +28779,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -28828,7 +28828,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -28885,7 +28885,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -28949,7 +28949,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -28998,7 +28998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -29056,7 +29056,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -29097,7 +29097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -29137,7 +29137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -29195,7 +29195,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -29234,7 +29234,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -29271,7 +29271,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -29320,7 +29320,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -29363,7 +29363,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -29418,7 +29418,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -29473,7 +29473,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -29523,7 +29523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -29573,7 +29573,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -29615,7 +29615,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -29663,7 +29663,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -29713,7 +29713,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -29763,7 +29763,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -29823,7 +29823,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -29886,7 +29886,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -29941,7 +29941,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -29994,7 +29994,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -30044,7 +30044,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -30104,7 +30104,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -30159,7 +30159,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -30201,7 +30201,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -30244,7 +30244,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -30295,7 +30295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -30352,7 +30352,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -30407,7 +30407,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -30444,7 +30444,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -30489,7 +30489,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -30526,7 +30526,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -30569,7 +30569,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -30610,7 +30610,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -30661,7 +30661,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -30712,7 +30712,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -30759,7 +30759,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -30799,7 +30799,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -30856,7 +30856,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -30894,7 +30894,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -30940,7 +30940,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -30994,7 +30994,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -31039,7 +31039,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -31098,7 +31098,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -31145,7 +31145,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -31198,7 +31198,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -31255,7 +31255,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -31305,7 +31305,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -31365,7 +31365,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -31415,7 +31415,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -31472,7 +31472,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -31523,7 +31523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -31571,7 +31571,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -31632,7 +31632,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -31689,7 +31689,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -31742,7 +31742,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -31789,7 +31789,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -31835,7 +31835,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -31894,7 +31894,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -31946,7 +31946,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -32003,7 +32003,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -32060,7 +32060,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -32115,7 +32115,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -32178,7 +32178,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -32233,7 +32233,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -32288,7 +32288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -32335,7 +32335,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -32396,7 +32396,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -32456,7 +32456,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -32504,7 +32504,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -32560,7 +32560,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -32607,7 +32607,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -32663,7 +32663,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -32712,7 +32712,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -32771,7 +32771,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -32832,7 +32832,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -32897,7 +32897,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -32958,7 +32958,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -33016,7 +33016,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -33086,7 +33086,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -33137,7 +33137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -33187,7 +33187,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -33246,7 +33246,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -33309,7 +33309,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -33370,7 +33370,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -33493,7 +33493,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -33545,7 +33545,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -33606,7 +33606,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -33666,7 +33666,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -33726,7 +33726,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -33796,7 +33796,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -33872,7 +33872,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -33924,7 +33924,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -33975,7 +33975,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -34032,7 +34032,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -34084,7 +34084,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -34146,7 +34146,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -34193,7 +34193,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -34257,7 +34257,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -34312,7 +34312,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -34373,7 +34373,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -34421,7 +34421,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -34469,7 +34469,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -34527,7 +34527,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -34586,7 +34586,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -34637,7 +34637,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -34693,7 +34693,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -34753,7 +34753,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -34810,7 +34810,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -34864,7 +34864,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -34926,7 +34926,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -34972,7 +34972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -35053,7 +35053,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -35105,7 +35105,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -35157,7 +35157,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -35210,7 +35210,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -35263,7 +35263,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -35314,7 +35314,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -35367,7 +35367,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -35412,7 +35412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -35473,7 +35473,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -35513,7 +35513,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -35551,7 +35551,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -35602,7 +35602,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -35649,7 +35649,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -35692,7 +35692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -35749,7 +35749,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -35797,7 +35797,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -35846,7 +35846,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -35889,7 +35889,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -35933,7 +35933,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -35990,7 +35990,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -36037,7 +36037,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -36097,7 +36097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -36157,7 +36157,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -36228,7 +36228,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -36295,7 +36295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -36334,7 +36334,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -36476,7 +36476,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -36543,7 +36543,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -36606,7 +36606,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -36683,7 +36683,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -36731,7 +36731,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -36797,7 +36797,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -36880,7 +36880,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -36959,7 +36959,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -36998,7 +36998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -37059,7 +37059,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -37104,7 +37104,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -37155,7 +37155,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -37216,7 +37216,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -37268,7 +37268,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -37361,7 +37361,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -37417,7 +37417,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -37455,7 +37455,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -37523,7 +37523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -37590,7 +37590,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -37656,7 +37656,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -37699,7 +37699,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -37757,7 +37757,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -37814,7 +37814,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -37884,7 +37884,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -37953,7 +37953,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -37999,7 +37999,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -38048,7 +38048,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38094,7 +38094,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38141,7 +38141,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -38189,7 +38189,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -38246,7 +38246,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -38286,7 +38286,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -38330,7 +38330,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -38406,7 +38406,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -38483,7 +38483,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -38571,7 +38571,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -38632,7 +38632,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -38675,7 +38675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -38717,7 +38717,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -38771,7 +38771,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -38824,7 +38824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -38859,7 +38859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -38894,7 +38894,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -38938,7 +38938,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -38975,7 +38975,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -39012,7 +39012,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -39049,7 +39049,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -39085,7 +39085,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -39122,7 +39122,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -39200,7 +39200,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -39251,7 +39251,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -39303,7 +39303,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -39351,7 +39351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -39397,7 +39397,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -39455,7 +39455,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -39495,7 +39495,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -39541,7 +39541,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -39588,7 +39588,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -39634,7 +39634,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -39691,7 +39691,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -39741,7 +39741,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -39798,7 +39798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -39846,7 +39846,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -39895,7 +39895,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -39953,7 +39953,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -40010,7 +40010,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -40066,7 +40066,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -40121,7 +40121,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -40171,7 +40171,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -40227,7 +40227,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -40284,7 +40284,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -40354,7 +40354,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -40418,7 +40418,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -40482,7 +40482,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -40529,7 +40529,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -40568,7 +40568,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -40613,7 +40613,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -40661,7 +40661,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -40719,7 +40719,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -40774,7 +40774,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -40827,7 +40827,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -40888,7 +40888,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -40929,7 +40929,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -40978,7 +40978,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -41022,7 +41022,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -41086,7 +41086,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -41134,7 +41134,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -41182,7 +41182,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -41221,7 +41221,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -41265,7 +41265,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -41312,7 +41312,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -41362,7 +41362,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -41438,7 +41438,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -41485,7 +41485,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -41534,7 +41534,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -41626,7 +41626,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -41829,7 +41829,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -41893,7 +41893,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -41974,7 +41974,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -42062,7 +42062,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -42102,7 +42102,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -42141,7 +42141,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -42189,7 +42189,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -42238,7 +42238,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -42288,7 +42288,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -42333,7 +42333,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -42372,7 +42372,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -42419,7 +42419,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -42470,7 +42470,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -42528,7 +42528,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -42585,7 +42585,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -42635,7 +42635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -42691,7 +42691,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -42736,7 +42736,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -42786,7 +42786,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -42836,7 +42836,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -42884,7 +42884,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -42938,7 +42938,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -42979,7 +42979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -43026,7 +43026,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -43072,7 +43072,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -43126,7 +43126,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -43178,7 +43178,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -43239,7 +43239,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -43276,7 +43276,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -43324,7 +43324,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -43363,7 +43363,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -43399,7 +43399,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -43445,7 +43445,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -43491,7 +43491,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -43542,7 +43542,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -43589,7 +43589,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -43646,7 +43646,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -43696,7 +43696,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -43745,7 +43745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -43795,7 +43795,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -43844,7 +43844,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -43885,7 +43885,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -43934,7 +43934,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -43977,7 +43977,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -44023,7 +44023,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -44072,7 +44072,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -44119,7 +44119,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -44176,7 +44176,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -44228,7 +44228,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -44289,7 +44289,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -44350,7 +44350,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -44407,7 +44407,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -44452,7 +44452,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -44507,7 +44507,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -44578,7 +44578,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -44634,7 +44634,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -44674,7 +44674,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -44730,7 +44730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -44778,7 +44778,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -44825,7 +44825,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -44873,7 +44873,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -44920,7 +44920,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -44967,7 +44967,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -45023,7 +45023,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -45124,7 +45124,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -45177,7 +45177,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -45231,7 +45231,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -45269,7 +45269,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -45309,7 +45309,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -45346,7 +45346,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -45391,7 +45391,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -45432,7 +45432,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -45479,7 +45479,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -45526,7 +45526,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -45578,7 +45578,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -45631,7 +45631,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -45682,7 +45682,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -45743,7 +45743,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -45800,7 +45800,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -45863,7 +45863,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -45923,7 +45923,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -45972,7 +45972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -46015,7 +46015,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -46065,7 +46065,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -46122,7 +46122,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -46173,7 +46173,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ --header "Content-Type: application/vnd.atlas.2023-01-01+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -46220,7 +46220,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -46264,7 +46264,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-01-01+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json index 4548a5d8c1..a6ec949aed 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.json @@ -247,7 +247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -304,7 +304,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -367,7 +367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -430,7 +430,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -484,7 +484,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -550,7 +550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -623,7 +623,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -694,7 +694,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -776,7 +776,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -839,7 +839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -911,7 +911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -984,7 +984,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1058,7 +1058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1143,7 +1143,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1241,7 +1241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1315,7 +1315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1396,7 +1396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1457,7 +1457,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1523,7 +1523,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1609,7 +1609,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1683,7 +1683,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1743,7 +1743,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -1801,7 +1801,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -1876,7 +1876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -1952,7 +1952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2022,7 +2022,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2110,7 +2110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2185,7 +2185,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2261,7 +2261,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2338,7 +2338,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2404,7 +2404,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2473,7 +2473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2543,7 +2543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2614,7 +2614,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2696,7 +2696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2781,7 +2781,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2863,7 +2863,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -2945,7 +2945,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3017,7 +3017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3102,7 +3102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3184,7 +3184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3254,7 +3254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3320,7 +3320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3396,7 +3396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3486,7 +3486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3567,7 +3567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3624,7 +3624,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3693,7 +3693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3750,7 +3750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -3816,7 +3816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3883,7 +3883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -3959,7 +3959,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4033,7 +4033,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4102,7 +4102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4164,7 +4164,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4249,7 +4249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4307,7 +4307,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4377,7 +4377,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4458,7 +4458,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4527,7 +4527,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4615,7 +4615,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4691,7 +4691,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -4771,7 +4771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4857,7 +4857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -4937,7 +4937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5017,7 +5017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5100,7 +5100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5174,7 +5174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5263,7 +5263,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5342,7 +5342,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5426,7 +5426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5501,7 +5501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5579,7 +5579,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5666,7 +5666,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -5750,7 +5750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -5829,7 +5829,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -5899,7 +5899,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -5968,7 +5968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6051,7 +6051,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6133,7 +6133,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6214,7 +6214,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6295,7 +6295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6377,7 +6377,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6449,7 +6449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6533,7 +6533,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6615,7 +6615,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6708,7 +6708,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6800,7 +6800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6889,7 +6889,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -6961,7 +6961,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7045,7 +7045,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7117,7 +7117,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7201,7 +7201,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7280,7 +7280,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7368,7 +7368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7459,7 +7459,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7555,7 +7555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -7645,7 +7645,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -7730,7 +7730,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -7832,7 +7832,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -7907,7 +7907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -7982,7 +7982,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8069,7 +8069,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8163,7 +8163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8253,7 +8253,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8429,7 +8429,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8511,7 +8511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -8602,7 +8602,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8711,7 +8711,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -8799,7 +8799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -8888,7 +8888,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -8991,7 +8991,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9070,7 +9070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9147,7 +9147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9232,7 +9232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9309,7 +9309,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -9400,7 +9400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9467,7 +9467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9560,7 +9560,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -9642,7 +9642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9727,7 +9727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -9800,7 +9800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -9872,7 +9872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -9958,7 +9958,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10044,7 +10044,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10115,7 +10115,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -10194,7 +10194,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10287,7 +10287,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -10372,7 +10372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -10452,7 +10452,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -10543,7 +10543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10612,7 +10612,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -10729,7 +10729,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -10813,7 +10813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -10891,7 +10891,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -10957,7 +10957,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -11036,7 +11036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -11104,7 +11104,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -11195,7 +11195,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11255,7 +11255,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -11333,7 +11333,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11405,7 +11405,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -11472,7 +11472,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -11559,7 +11559,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11632,7 +11632,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -11707,7 +11707,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11773,7 +11773,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -11840,7 +11840,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -11927,7 +11927,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -11999,7 +11999,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -12077,7 +12077,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -12156,7 +12156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -12249,7 +12249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12345,7 +12345,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -12411,7 +12411,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -12641,7 +12641,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12723,7 +12723,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -12800,7 +12800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -12897,7 +12897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -12975,7 +12975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -13067,7 +13067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13190,7 +13190,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -13310,7 +13310,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -13367,7 +13367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -13442,7 +13442,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13511,7 +13511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -13589,7 +13589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -13681,7 +13681,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -13760,7 +13760,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -13893,7 +13893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -13974,7 +13974,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -14034,7 +14034,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -14140,7 +14140,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14249,7 +14249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14350,7 +14350,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14422,7 +14422,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -14507,7 +14507,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -14590,7 +14590,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -14696,7 +14696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14799,7 +14799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14869,7 +14869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -14943,7 +14943,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15011,7 +15011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15079,7 +15079,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -15151,7 +15151,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -15234,7 +15234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15295,7 +15295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -15364,7 +15364,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -15451,7 +15451,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -15539,7 +15539,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -15638,7 +15638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15718,7 +15718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15799,7 +15799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -15876,7 +15876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -15942,7 +15942,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -16008,7 +16008,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16062,7 +16062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -16117,7 +16117,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -16183,7 +16183,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16237,7 +16237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16291,7 +16291,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16348,7 +16348,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -16405,7 +16405,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -16462,7 +16462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16580,7 +16580,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -16663,7 +16663,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -16742,7 +16742,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16814,7 +16814,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -16884,7 +16884,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -16971,7 +16971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17031,7 +17031,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -17100,7 +17100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17169,7 +17169,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -17239,7 +17239,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -17323,7 +17323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17398,7 +17398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -17489,7 +17489,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -17561,7 +17561,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17633,7 +17633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17724,7 +17724,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -17809,7 +17809,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -17892,7 +17892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -17975,7 +17975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18047,7 +18047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18107,7 +18107,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -18176,7 +18176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18247,7 +18247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -18328,7 +18328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18408,7 +18408,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -18486,7 +18486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -18575,7 +18575,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18650,7 +18650,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -18734,7 +18734,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -18819,7 +18819,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -18923,7 +18923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19017,7 +19017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -19112,7 +19112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19174,7 +19174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -19248,7 +19248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19320,7 +19320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -19389,7 +19389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -19461,7 +19461,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -19534,7 +19534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19600,7 +19600,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -19668,7 +19668,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -19745,7 +19745,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -19822,7 +19822,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -19938,7 +19938,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20015,7 +20015,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -20089,7 +20089,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -20214,7 +20214,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20446,7 +20446,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20532,7 +20532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -20642,7 +20642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -20768,7 +20768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -20831,7 +20831,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -20892,7 +20892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -20965,7 +20965,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21038,7 +21038,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21110,7 +21110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21176,7 +21176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -21242,7 +21242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -21314,7 +21314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21395,7 +21395,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -21482,7 +21482,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21566,7 +21566,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -21647,7 +21647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -21729,7 +21729,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -21798,7 +21798,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -21871,7 +21871,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -21946,7 +21946,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -22019,7 +22019,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -22100,7 +22100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22163,7 +22163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -22235,7 +22235,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22298,7 +22298,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -22367,7 +22367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -22439,7 +22439,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -22514,7 +22514,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -22598,7 +22598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -22697,7 +22697,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -22772,7 +22772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -22853,7 +22853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -22934,7 +22934,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -23007,7 +23007,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -23100,7 +23100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -23175,7 +23175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -23257,7 +23257,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -23333,7 +23333,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -23424,7 +23424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -23481,7 +23481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -23550,7 +23550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -23604,7 +23604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -23661,7 +23661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -23732,7 +23732,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -23801,7 +23801,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -23885,7 +23885,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -23957,7 +23957,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -24043,7 +24043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -24123,7 +24123,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -24198,7 +24198,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -24264,7 +24264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -24328,7 +24328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -24403,7 +24403,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -24473,7 +24473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -24543,7 +24543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -24616,7 +24616,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -24687,7 +24687,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -24772,7 +24772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -24854,7 +24854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -24950,7 +24950,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -25040,7 +25040,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -25125,7 +25125,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -25193,7 +25193,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -25274,7 +25274,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -25379,7 +25379,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -25460,7 +25460,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -25523,7 +25523,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -25603,7 +25603,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -25678,7 +25678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -25750,7 +25750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -25822,7 +25822,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -25894,7 +25894,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -25964,7 +25964,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -26048,7 +26048,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -26196,7 +26196,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -26256,7 +26256,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -26334,7 +26334,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -26405,7 +26405,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -26468,7 +26468,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -26525,7 +26525,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -26594,7 +26594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -26657,7 +26657,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -26729,7 +26729,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -26805,7 +26805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -26884,7 +26884,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26960,7 +26960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -27039,7 +27039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -27116,7 +27116,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -27207,7 +27207,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -27295,7 +27295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -27389,7 +27389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -27477,7 +27477,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -27549,7 +27549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -27624,7 +27624,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -27710,7 +27710,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27778,7 +27778,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-02-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -27845,7 +27845,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -27914,7 +27914,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-02-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml index b70612118c..c095e18f88 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-02-01.yaml @@ -28663,7 +28663,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -28700,7 +28700,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -28738,7 +28738,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -28776,7 +28776,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -28812,7 +28812,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -28853,7 +28853,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -28902,7 +28902,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -28950,7 +28950,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -29006,7 +29006,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -29047,7 +29047,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -29094,7 +29094,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -29143,7 +29143,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -29192,7 +29192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -29249,7 +29249,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -29313,7 +29313,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -29362,7 +29362,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -29420,7 +29420,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -29461,7 +29461,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -29501,7 +29501,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -29559,7 +29559,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -29598,7 +29598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -29635,7 +29635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -29684,7 +29684,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -29734,7 +29734,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -29777,7 +29777,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -29832,7 +29832,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -29887,7 +29887,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -29937,7 +29937,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -29987,7 +29987,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -30029,7 +30029,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -30077,7 +30077,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -30127,7 +30127,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -30177,7 +30177,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -30237,7 +30237,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -30300,7 +30300,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -30355,7 +30355,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -30408,7 +30408,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -30458,7 +30458,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -30518,7 +30518,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -30573,7 +30573,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -30615,7 +30615,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -30658,7 +30658,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -30709,7 +30709,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -30766,7 +30766,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -30821,7 +30821,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -30858,7 +30858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -30903,7 +30903,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -30940,7 +30940,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -30983,7 +30983,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -31024,7 +31024,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -31075,7 +31075,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -31126,7 +31126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -31173,7 +31173,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -31213,7 +31213,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -31270,7 +31270,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -31308,7 +31308,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -31354,7 +31354,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -31408,7 +31408,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -31453,7 +31453,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -31512,7 +31512,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -31559,7 +31559,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -31612,7 +31612,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -31668,7 +31668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -31717,7 +31717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -31777,7 +31777,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -31827,7 +31827,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -31884,7 +31884,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -31935,7 +31935,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -31983,7 +31983,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -32044,7 +32044,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -32101,7 +32101,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -32154,7 +32154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -32201,7 +32201,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -32247,7 +32247,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -32306,7 +32306,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -32358,7 +32358,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -32415,7 +32415,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -32472,7 +32472,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -32527,7 +32527,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -32590,7 +32590,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -32645,7 +32645,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -32700,7 +32700,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -32747,7 +32747,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -32808,7 +32808,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -32868,7 +32868,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -32916,7 +32916,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -32972,7 +32972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -33019,7 +33019,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -33075,7 +33075,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -33124,7 +33124,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -33183,7 +33183,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -33244,7 +33244,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -33309,7 +33309,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -33370,7 +33370,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -33428,7 +33428,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -33498,7 +33498,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -33549,7 +33549,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -33599,7 +33599,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -33658,7 +33658,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -33721,7 +33721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -33782,7 +33782,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -33905,7 +33905,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -33957,7 +33957,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -34018,7 +34018,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -34078,7 +34078,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -34138,7 +34138,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -34208,7 +34208,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -34284,7 +34284,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -34336,7 +34336,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -34387,7 +34387,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -34444,7 +34444,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -34496,7 +34496,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -34558,7 +34558,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -34604,7 +34604,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -34667,7 +34667,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -34722,7 +34722,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -34783,7 +34783,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -34831,7 +34831,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -34879,7 +34879,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -34937,7 +34937,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -34996,7 +34996,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -35047,7 +35047,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -35103,7 +35103,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -35163,7 +35163,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -35220,7 +35220,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -35274,7 +35274,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -35336,7 +35336,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -35382,7 +35382,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -35462,7 +35462,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -35513,7 +35513,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -35565,7 +35565,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -35618,7 +35618,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -35671,7 +35671,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -35722,7 +35722,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -35775,7 +35775,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -35820,7 +35820,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -35881,7 +35881,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -35921,7 +35921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -35959,7 +35959,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -36010,7 +36010,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -36057,7 +36057,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -36100,7 +36100,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -36157,7 +36157,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -36205,7 +36205,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -36254,7 +36254,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -36297,7 +36297,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -36341,7 +36341,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -36398,7 +36398,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -36445,7 +36445,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -36505,7 +36505,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -36565,7 +36565,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -36636,7 +36636,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -36703,7 +36703,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -36742,7 +36742,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -36884,7 +36884,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -36951,7 +36951,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -37014,7 +37014,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -37091,7 +37091,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -37139,7 +37139,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -37205,7 +37205,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -37288,7 +37288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -37367,7 +37367,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -37406,7 +37406,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -37467,7 +37467,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -37512,7 +37512,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -37563,7 +37563,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -37624,7 +37624,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -37676,7 +37676,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -37769,7 +37769,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -37825,7 +37825,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -37863,7 +37863,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -37931,7 +37931,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -37998,7 +37998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -38064,7 +38064,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -38107,7 +38107,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -38165,7 +38165,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -38222,7 +38222,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -38292,7 +38292,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -38361,7 +38361,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -38407,7 +38407,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -38456,7 +38456,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38502,7 +38502,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38549,7 +38549,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -38597,7 +38597,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -38654,7 +38654,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -38694,7 +38694,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -38738,7 +38738,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -38814,7 +38814,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -38891,7 +38891,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -38979,7 +38979,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -39040,7 +39040,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -39083,7 +39083,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -39125,7 +39125,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -39179,7 +39179,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -39232,7 +39232,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -39267,7 +39267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -39302,7 +39302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -39346,7 +39346,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -39383,7 +39383,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -39420,7 +39420,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -39457,7 +39457,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -39493,7 +39493,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -39530,7 +39530,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -39608,7 +39608,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -39659,7 +39659,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -39711,7 +39711,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -39759,7 +39759,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -39805,7 +39805,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -39863,7 +39863,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -39903,7 +39903,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -39949,7 +39949,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -39996,7 +39996,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -40042,7 +40042,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -40099,7 +40099,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -40149,7 +40149,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -40206,7 +40206,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -40254,7 +40254,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -40303,7 +40303,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -40361,7 +40361,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -40418,7 +40418,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -40474,7 +40474,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -40529,7 +40529,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -40579,7 +40579,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -40635,7 +40635,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -40692,7 +40692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -40762,7 +40762,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -40826,7 +40826,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -40890,7 +40890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -40937,7 +40937,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -40976,7 +40976,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -41021,7 +41021,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -41069,7 +41069,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -41127,7 +41127,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -41182,7 +41182,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -41235,7 +41235,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -41296,7 +41296,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -41337,7 +41337,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -41386,7 +41386,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -41430,7 +41430,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -41494,7 +41494,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -41542,7 +41542,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -41590,7 +41590,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -41629,7 +41629,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -41673,7 +41673,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -41720,7 +41720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -41770,7 +41770,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -41846,7 +41846,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -41893,7 +41893,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -41942,7 +41942,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -42034,7 +42034,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -42237,7 +42237,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -42301,7 +42301,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -42382,7 +42382,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -42470,7 +42470,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -42510,7 +42510,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -42549,7 +42549,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -42597,7 +42597,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -42646,7 +42646,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -42696,7 +42696,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -42741,7 +42741,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -42780,7 +42780,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -42827,7 +42827,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -42878,7 +42878,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -42936,7 +42936,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -42993,7 +42993,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -43043,7 +43043,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -43099,7 +43099,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -43144,7 +43144,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -43194,7 +43194,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -43244,7 +43244,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -43292,7 +43292,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -43346,7 +43346,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -43387,7 +43387,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -43434,7 +43434,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -43473,7 +43473,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -43518,7 +43518,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -43565,7 +43565,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -43614,7 +43614,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -43669,7 +43669,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -43737,7 +43737,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -43783,7 +43783,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -43836,7 +43836,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -43889,7 +43889,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -43937,7 +43937,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -43998,7 +43998,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -44044,7 +44044,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -44098,7 +44098,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -44150,7 +44150,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -44211,7 +44211,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -44248,7 +44248,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -44296,7 +44296,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -44335,7 +44335,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -44371,7 +44371,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -44417,7 +44417,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -44463,7 +44463,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -44514,7 +44514,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -44561,7 +44561,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -44618,7 +44618,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -44668,7 +44668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -44717,7 +44717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -44767,7 +44767,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -44816,7 +44816,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -44857,7 +44857,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -44906,7 +44906,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -44949,7 +44949,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -44995,7 +44995,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -45044,7 +45044,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -45091,7 +45091,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -45148,7 +45148,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -45200,7 +45200,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -45261,7 +45261,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -45322,7 +45322,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -45379,7 +45379,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -45424,7 +45424,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -45479,7 +45479,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -45550,7 +45550,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -45606,7 +45606,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -45646,7 +45646,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -45702,7 +45702,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -45750,7 +45750,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -45797,7 +45797,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -45845,7 +45845,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -45892,7 +45892,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -45939,7 +45939,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -45995,7 +45995,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -46096,7 +46096,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -46149,7 +46149,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -46203,7 +46203,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -46241,7 +46241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -46281,7 +46281,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -46318,7 +46318,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -46363,7 +46363,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -46404,7 +46404,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -46451,7 +46451,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -46498,7 +46498,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -46550,7 +46550,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -46603,7 +46603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -46654,7 +46654,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -46715,7 +46715,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -46772,7 +46772,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -46835,7 +46835,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -46895,7 +46895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -46944,7 +46944,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -46987,7 +46987,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -47037,7 +47037,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -47094,7 +47094,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -47145,7 +47145,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ --header "Content-Type: application/vnd.atlas.2023-02-01+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -47192,7 +47192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -47236,7 +47236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-02-01+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json index 07914fa739..23ce001433 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.json @@ -247,7 +247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -304,7 +304,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -367,7 +367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -430,7 +430,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -484,7 +484,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -550,7 +550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -623,7 +623,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -694,7 +694,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -776,7 +776,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -839,7 +839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -911,7 +911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -984,7 +984,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1058,7 +1058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1143,7 +1143,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1241,7 +1241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1315,7 +1315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1396,7 +1396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1457,7 +1457,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1523,7 +1523,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1609,7 +1609,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1683,7 +1683,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1743,7 +1743,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -1801,7 +1801,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -1876,7 +1876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -1952,7 +1952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2022,7 +2022,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2110,7 +2110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2185,7 +2185,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2261,7 +2261,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2338,7 +2338,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2404,7 +2404,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2473,7 +2473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2543,7 +2543,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2614,7 +2614,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2696,7 +2696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2781,7 +2781,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2863,7 +2863,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -2945,7 +2945,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3017,7 +3017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3102,7 +3102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3184,7 +3184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3254,7 +3254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3320,7 +3320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3396,7 +3396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3486,7 +3486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3567,7 +3567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3624,7 +3624,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3693,7 +3693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3750,7 +3750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -3816,7 +3816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -3883,7 +3883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -3959,7 +3959,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4033,7 +4033,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4102,7 +4102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4163,7 +4163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4245,7 +4245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4302,7 +4302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4372,7 +4372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4453,7 +4453,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4522,7 +4522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4610,7 +4610,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4686,7 +4686,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -4766,7 +4766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -4852,7 +4852,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -4932,7 +4932,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5012,7 +5012,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5095,7 +5095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5169,7 +5169,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5258,7 +5258,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5337,7 +5337,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5421,7 +5421,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5496,7 +5496,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5574,7 +5574,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5661,7 +5661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -5745,7 +5745,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -5824,7 +5824,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -5894,7 +5894,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -5963,7 +5963,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6046,7 +6046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6128,7 +6128,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6209,7 +6209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6290,7 +6290,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6372,7 +6372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6444,7 +6444,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6528,7 +6528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6610,7 +6610,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6703,7 +6703,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6795,7 +6795,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -6884,7 +6884,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -6956,7 +6956,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7040,7 +7040,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7112,7 +7112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7196,7 +7196,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7275,7 +7275,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7363,7 +7363,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7454,7 +7454,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -7550,7 +7550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -7640,7 +7640,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -7725,7 +7725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -7827,7 +7827,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -7902,7 +7902,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -7977,7 +7977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8064,7 +8064,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8158,7 +8158,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8248,7 +8248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8424,7 +8424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -8506,7 +8506,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -8597,7 +8597,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -8706,7 +8706,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -8794,7 +8794,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -8883,7 +8883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -8986,7 +8986,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9065,7 +9065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9142,7 +9142,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9227,7 +9227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9304,7 +9304,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -9395,7 +9395,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -9462,7 +9462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -9555,7 +9555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -9637,7 +9637,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -9722,7 +9722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -9795,7 +9795,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -9867,7 +9867,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -9953,7 +9953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10039,7 +10039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10110,7 +10110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -10189,7 +10189,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10282,7 +10282,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -10367,7 +10367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -10447,7 +10447,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -10538,7 +10538,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -10607,7 +10607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -10724,7 +10724,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -10808,7 +10808,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -10886,7 +10886,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -10952,7 +10952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -11031,7 +11031,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -11099,7 +11099,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -11190,7 +11190,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -11250,7 +11250,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -11328,7 +11328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -11400,7 +11400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -11467,7 +11467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -11554,7 +11554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -11627,7 +11627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -11702,7 +11702,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -11768,7 +11768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -11835,7 +11835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -11922,7 +11922,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -11994,7 +11994,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -12072,7 +12072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -12151,7 +12151,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -12244,7 +12244,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -12340,7 +12340,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -12406,7 +12406,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -12636,7 +12636,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -12718,7 +12718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -12795,7 +12795,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -12892,7 +12892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -12970,7 +12970,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -13062,7 +13062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -13185,7 +13185,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -13305,7 +13305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -13362,7 +13362,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -13437,7 +13437,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -13506,7 +13506,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -13584,7 +13584,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -13676,7 +13676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -13755,7 +13755,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -13888,7 +13888,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -13969,7 +13969,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -14029,7 +14029,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -14135,7 +14135,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14244,7 +14244,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14345,7 +14345,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -14417,7 +14417,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -14502,7 +14502,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -14585,7 +14585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -14691,7 +14691,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14794,7 +14794,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -14864,7 +14864,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -14938,7 +14938,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15006,7 +15006,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15074,7 +15074,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -15146,7 +15146,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -15229,7 +15229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -15290,7 +15290,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -15359,7 +15359,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -15446,7 +15446,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -15534,7 +15534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -15633,7 +15633,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -15713,7 +15713,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -15794,7 +15794,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -15871,7 +15871,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -15937,7 +15937,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -16003,7 +16003,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16057,7 +16057,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -16112,7 +16112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -16178,7 +16178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -16232,7 +16232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -16286,7 +16286,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -16343,7 +16343,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -16400,7 +16400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -16457,7 +16457,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -16575,7 +16575,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -16658,7 +16658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -16737,7 +16737,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -16809,7 +16809,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -16879,7 +16879,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -16966,7 +16966,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17026,7 +17026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -17095,7 +17095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17164,7 +17164,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -17234,7 +17234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -17318,7 +17318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -17393,7 +17393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -17484,7 +17484,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -17556,7 +17556,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -17628,7 +17628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -17719,7 +17719,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -17804,7 +17804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -17887,7 +17887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -17970,7 +17970,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18042,7 +18042,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18102,7 +18102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -18171,7 +18171,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -18242,7 +18242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -18323,7 +18323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -18403,7 +18403,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -18481,7 +18481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -18570,7 +18570,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -18645,7 +18645,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -18729,7 +18729,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -18814,7 +18814,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -18918,7 +18918,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19012,7 +19012,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -19107,7 +19107,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19169,7 +19169,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -19243,7 +19243,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -19315,7 +19315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -19384,7 +19384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -19456,7 +19456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -19529,7 +19529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19595,7 +19595,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -19663,7 +19663,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -19740,7 +19740,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -19817,7 +19817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -19933,7 +19933,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20010,7 +20010,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -20084,7 +20084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -20209,7 +20209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20441,7 +20441,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20527,7 +20527,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -20637,7 +20637,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -20763,7 +20763,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -20826,7 +20826,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -20887,7 +20887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -20960,7 +20960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21033,7 +21033,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -21105,7 +21105,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -21171,7 +21171,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -21237,7 +21237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -21309,7 +21309,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -21390,7 +21390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -21477,7 +21477,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -21561,7 +21561,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -21642,7 +21642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -21724,7 +21724,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -21793,7 +21793,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -21866,7 +21866,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -21941,7 +21941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -22014,7 +22014,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -22095,7 +22095,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22161,7 +22161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -22231,7 +22231,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -22301,7 +22301,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -22368,7 +22368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -22449,7 +22449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -22532,7 +22532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -22595,7 +22595,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -22667,7 +22667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -22730,7 +22730,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -22799,7 +22799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -22871,7 +22871,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -22946,7 +22946,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -23030,7 +23030,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -23129,7 +23129,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -23204,7 +23204,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -23285,7 +23285,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -23366,7 +23366,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -23439,7 +23439,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -23532,7 +23532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -23607,7 +23607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -23689,7 +23689,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -23765,7 +23765,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -23856,7 +23856,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -23913,7 +23913,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -23982,7 +23982,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -24036,7 +24036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -24093,7 +24093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -24164,7 +24164,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -24233,7 +24233,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -24317,7 +24317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -24389,7 +24389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -24475,7 +24475,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -24555,7 +24555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -24630,7 +24630,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -24696,7 +24696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -24760,7 +24760,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -24835,7 +24835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -24905,7 +24905,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -24975,7 +24975,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -25048,7 +25048,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -25119,7 +25119,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -25204,7 +25204,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -25286,7 +25286,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -25382,7 +25382,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -25472,7 +25472,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -25557,7 +25557,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -25625,7 +25625,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -25706,7 +25706,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -25811,7 +25811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -25892,7 +25892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -25955,7 +25955,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -26035,7 +26035,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -26110,7 +26110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -26182,7 +26182,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -26254,7 +26254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -26326,7 +26326,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -26396,7 +26396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -26480,7 +26480,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -26628,7 +26628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -26688,7 +26688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -26766,7 +26766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -26837,7 +26837,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -26900,7 +26900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -26957,7 +26957,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -27026,7 +27026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -27092,7 +27092,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -27161,7 +27161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -27227,7 +27227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -27294,7 +27294,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -27375,7 +27375,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -27450,7 +27450,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -27530,7 +27530,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -27605,7 +27605,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" }, { "lang": "cURL", @@ -27668,7 +27668,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -27740,7 +27740,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -27816,7 +27816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -27895,7 +27895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -27971,7 +27971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -28050,7 +28050,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -28127,7 +28127,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -28218,7 +28218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -28306,7 +28306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -28400,7 +28400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -28488,7 +28488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -28560,7 +28560,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -28635,7 +28635,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -28721,7 +28721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -28789,7 +28789,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-10-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -28856,7 +28856,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -28925,7 +28925,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-10-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml index ab4fab51ac..8424423190 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-10-01.yaml @@ -29084,7 +29084,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -29121,7 +29121,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -29159,7 +29159,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -29197,7 +29197,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -29233,7 +29233,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -29274,7 +29274,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -29323,7 +29323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -29371,7 +29371,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -29427,7 +29427,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -29468,7 +29468,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -29515,7 +29515,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -29564,7 +29564,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -29613,7 +29613,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -29670,7 +29670,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -29734,7 +29734,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -29783,7 +29783,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -29841,7 +29841,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -29882,7 +29882,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -29922,7 +29922,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -29980,7 +29980,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -30019,7 +30019,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -30056,7 +30056,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -30105,7 +30105,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -30155,7 +30155,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -30198,7 +30198,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -30253,7 +30253,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -30308,7 +30308,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -30358,7 +30358,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -30408,7 +30408,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -30450,7 +30450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -30498,7 +30498,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -30548,7 +30548,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -30598,7 +30598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -30658,7 +30658,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -30721,7 +30721,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -30776,7 +30776,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -30829,7 +30829,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -30879,7 +30879,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -30939,7 +30939,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -30994,7 +30994,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -31036,7 +31036,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -31079,7 +31079,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -31130,7 +31130,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -31187,7 +31187,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -31242,7 +31242,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -31279,7 +31279,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -31324,7 +31324,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -31361,7 +31361,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -31404,7 +31404,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -31445,7 +31445,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -31496,7 +31496,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -31547,7 +31547,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -31594,7 +31594,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -31633,7 +31633,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -31687,7 +31687,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -31724,7 +31724,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -31770,7 +31770,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -31824,7 +31824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -31869,7 +31869,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -31928,7 +31928,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -31975,7 +31975,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -32028,7 +32028,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -32084,7 +32084,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -32133,7 +32133,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -32193,7 +32193,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -32243,7 +32243,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -32300,7 +32300,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -32351,7 +32351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -32399,7 +32399,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -32460,7 +32460,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -32517,7 +32517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -32570,7 +32570,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -32617,7 +32617,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -32663,7 +32663,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -32722,7 +32722,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -32774,7 +32774,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -32831,7 +32831,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -32888,7 +32888,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -32943,7 +32943,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -33006,7 +33006,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -33061,7 +33061,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -33116,7 +33116,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -33163,7 +33163,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -33224,7 +33224,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -33284,7 +33284,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -33332,7 +33332,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -33388,7 +33388,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -33435,7 +33435,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -33491,7 +33491,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -33540,7 +33540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -33599,7 +33599,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -33660,7 +33660,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -33725,7 +33725,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -33786,7 +33786,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -33844,7 +33844,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -33914,7 +33914,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -33965,7 +33965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -34015,7 +34015,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -34074,7 +34074,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -34137,7 +34137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -34198,7 +34198,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -34321,7 +34321,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -34373,7 +34373,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -34434,7 +34434,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -34494,7 +34494,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -34554,7 +34554,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -34624,7 +34624,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -34700,7 +34700,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -34752,7 +34752,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -34803,7 +34803,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -34860,7 +34860,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -34912,7 +34912,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -34974,7 +34974,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -35020,7 +35020,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -35083,7 +35083,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -35138,7 +35138,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -35199,7 +35199,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -35247,7 +35247,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -35295,7 +35295,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -35353,7 +35353,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -35412,7 +35412,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -35463,7 +35463,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -35519,7 +35519,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -35579,7 +35579,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -35636,7 +35636,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -35690,7 +35690,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -35752,7 +35752,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -35798,7 +35798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -35878,7 +35878,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -35929,7 +35929,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -35981,7 +35981,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -36034,7 +36034,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -36087,7 +36087,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -36138,7 +36138,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -36191,7 +36191,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -36236,7 +36236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -36297,7 +36297,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -36337,7 +36337,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -36375,7 +36375,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -36426,7 +36426,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -36473,7 +36473,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -36516,7 +36516,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -36573,7 +36573,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -36621,7 +36621,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -36670,7 +36670,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -36713,7 +36713,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -36757,7 +36757,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -36814,7 +36814,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -36861,7 +36861,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -36921,7 +36921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -36981,7 +36981,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -37052,7 +37052,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -37119,7 +37119,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -37158,7 +37158,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -37300,7 +37300,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -37367,7 +37367,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -37430,7 +37430,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -37507,7 +37507,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -37555,7 +37555,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -37621,7 +37621,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -37704,7 +37704,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -37783,7 +37783,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -37822,7 +37822,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -37883,7 +37883,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -37928,7 +37928,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -37979,7 +37979,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -38040,7 +38040,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -38092,7 +38092,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -38185,7 +38185,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -38241,7 +38241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -38279,7 +38279,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -38347,7 +38347,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -38414,7 +38414,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -38480,7 +38480,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -38523,7 +38523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -38581,7 +38581,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -38638,7 +38638,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -38708,7 +38708,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -38777,7 +38777,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -38823,7 +38823,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -38872,7 +38872,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38918,7 +38918,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -38965,7 +38965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -39013,7 +39013,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -39070,7 +39070,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -39110,7 +39110,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -39154,7 +39154,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -39230,7 +39230,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -39307,7 +39307,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -39395,7 +39395,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -39456,7 +39456,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -39499,7 +39499,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -39541,7 +39541,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -39595,7 +39595,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -39648,7 +39648,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -39683,7 +39683,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -39718,7 +39718,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -39762,7 +39762,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -39799,7 +39799,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -39836,7 +39836,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -39873,7 +39873,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -39909,7 +39909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -39946,7 +39946,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -40024,7 +40024,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -40075,7 +40075,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -40127,7 +40127,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -40175,7 +40175,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -40221,7 +40221,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -40279,7 +40279,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -40319,7 +40319,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -40365,7 +40365,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -40412,7 +40412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -40458,7 +40458,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -40515,7 +40515,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -40565,7 +40565,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -40622,7 +40622,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -40670,7 +40670,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -40719,7 +40719,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -40777,7 +40777,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -40834,7 +40834,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -40890,7 +40890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -40945,7 +40945,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -40995,7 +40995,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -41051,7 +41051,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -41108,7 +41108,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -41178,7 +41178,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -41242,7 +41242,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -41306,7 +41306,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -41353,7 +41353,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -41392,7 +41392,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -41437,7 +41437,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -41485,7 +41485,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -41543,7 +41543,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -41598,7 +41598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -41651,7 +41651,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -41712,7 +41712,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -41753,7 +41753,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -41802,7 +41802,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -41846,7 +41846,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -41910,7 +41910,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -41958,7 +41958,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -42006,7 +42006,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -42045,7 +42045,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -42089,7 +42089,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -42136,7 +42136,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -42186,7 +42186,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -42262,7 +42262,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -42309,7 +42309,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -42358,7 +42358,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -42450,7 +42450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -42653,7 +42653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -42717,7 +42717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -42798,7 +42798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -42886,7 +42886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -42926,7 +42926,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -42965,7 +42965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -43013,7 +43013,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -43062,7 +43062,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -43112,7 +43112,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -43157,7 +43157,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -43196,7 +43196,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -43243,7 +43243,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -43294,7 +43294,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -43352,7 +43352,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -43409,7 +43409,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -43459,7 +43459,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -43515,7 +43515,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -43560,7 +43560,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -43610,7 +43610,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -43660,7 +43660,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -43708,7 +43708,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -43762,7 +43762,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -43803,7 +43803,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectServiceAccounts --help @@ -43849,7 +43849,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -43895,7 +43895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectServiceAccount --help @@ -43938,7 +43938,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectServiceAccount --help @@ -43991,7 +43991,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -44047,7 +44047,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -44088,7 +44088,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -44135,7 +44135,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -44174,7 +44174,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -44219,7 +44219,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -44266,7 +44266,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -44315,7 +44315,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -44370,7 +44370,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -44438,7 +44438,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -44484,7 +44484,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -44537,7 +44537,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -44590,7 +44590,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -44638,7 +44638,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -44699,7 +44699,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -44745,7 +44745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -44799,7 +44799,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -44851,7 +44851,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -44912,7 +44912,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -44949,7 +44949,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -44997,7 +44997,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -45036,7 +45036,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -45072,7 +45072,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -45118,7 +45118,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -45164,7 +45164,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -45215,7 +45215,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -45262,7 +45262,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -45319,7 +45319,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -45369,7 +45369,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -45418,7 +45418,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -45468,7 +45468,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -45517,7 +45517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -45558,7 +45558,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -45607,7 +45607,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -45650,7 +45650,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -45696,7 +45696,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -45745,7 +45745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -45792,7 +45792,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -45849,7 +45849,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -45901,7 +45901,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -45962,7 +45962,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -46023,7 +46023,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -46080,7 +46080,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -46125,7 +46125,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -46180,7 +46180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -46251,7 +46251,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -46307,7 +46307,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -46347,7 +46347,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -46403,7 +46403,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -46451,7 +46451,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -46498,7 +46498,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -46546,7 +46546,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -46593,7 +46593,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -46640,7 +46640,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -46696,7 +46696,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -46797,7 +46797,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -46850,7 +46850,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -46904,7 +46904,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -46942,7 +46942,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -46982,7 +46982,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -47019,7 +47019,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -47064,7 +47064,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -47105,7 +47105,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccounts --help @@ -47150,7 +47150,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -47193,7 +47193,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccount --help @@ -47236,7 +47236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServiceAccount --help @@ -47289,7 +47289,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -47336,7 +47336,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccountProjects --help @@ -47388,7 +47388,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI lang: cURL @@ -47437,7 +47437,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccountSecret --help @@ -47477,7 +47477,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -47524,7 +47524,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -47571,7 +47571,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -47623,7 +47623,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -47676,7 +47676,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -47727,7 +47727,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -47788,7 +47788,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -47845,7 +47845,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -47908,7 +47908,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -47968,7 +47968,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -48017,7 +48017,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -48060,7 +48060,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -48110,7 +48110,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -48167,7 +48167,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -48218,7 +48218,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ --header "Content-Type: application/vnd.atlas.2023-10-01+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -48265,7 +48265,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -48309,7 +48309,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-10-01+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json index 3c85afe5fb..bb86541385 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.json @@ -251,7 +251,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -308,7 +308,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -371,7 +371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -434,7 +434,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -488,7 +488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -554,7 +554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -627,7 +627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -698,7 +698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -843,7 +843,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -988,7 +988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1062,7 +1062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1245,7 +1245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1384,7 +1384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" }, { "lang": "cURL", @@ -1455,7 +1455,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1601,7 +1601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" }, { "lang": "cURL", @@ -1661,7 +1661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1727,7 +1727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1887,7 +1887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1947,7 +1947,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -2005,7 +2005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2226,7 +2226,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2389,7 +2389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2465,7 +2465,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2542,7 +2542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2608,7 +2608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2747,7 +2747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2818,7 +2818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3067,7 +3067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3149,7 +3149,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3221,7 +3221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3306,7 +3306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3388,7 +3388,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3458,7 +3458,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3524,7 +3524,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3600,7 +3600,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3690,7 +3690,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3771,7 +3771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3828,7 +3828,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3897,7 +3897,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3954,7 +3954,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -4020,7 +4020,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4087,7 +4087,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -4163,7 +4163,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4237,7 +4237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4306,7 +4306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4367,7 +4367,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4449,7 +4449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4506,7 +4506,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4576,7 +4576,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4657,7 +4657,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4726,7 +4726,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4814,7 +4814,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4890,7 +4890,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -4970,7 +4970,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5056,7 +5056,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -5136,7 +5136,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5216,7 +5216,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5299,7 +5299,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5373,7 +5373,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5462,7 +5462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5541,7 +5541,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5625,7 +5625,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5700,7 +5700,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5778,7 +5778,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5865,7 +5865,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -5949,7 +5949,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -6028,7 +6028,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -6098,7 +6098,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -6167,7 +6167,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6250,7 +6250,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6332,7 +6332,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6413,7 +6413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6494,7 +6494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6576,7 +6576,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6648,7 +6648,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6732,7 +6732,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6814,7 +6814,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6907,7 +6907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -6999,7 +6999,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7088,7 +7088,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7160,7 +7160,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7244,7 +7244,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7316,7 +7316,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7400,7 +7400,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7479,7 +7479,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7567,7 +7567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7639,7 +7639,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" }, { "lang": "cURL", @@ -7731,7 +7731,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7823,7 +7823,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7906,7 +7906,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -7997,7 +7997,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8093,7 +8093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -8183,7 +8183,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -8268,7 +8268,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -8370,7 +8370,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8445,7 +8445,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -8520,7 +8520,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8607,7 +8607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8701,7 +8701,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8791,7 +8791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -8967,7 +8967,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9049,7 +9049,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -9140,7 +9140,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9249,7 +9249,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -9337,7 +9337,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -9426,7 +9426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -9529,7 +9529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9608,7 +9608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9685,7 +9685,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9770,7 +9770,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9847,7 +9847,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -9938,7 +9938,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10005,7 +10005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10098,7 +10098,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -10180,7 +10180,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10265,7 +10265,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -10338,7 +10338,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -10410,7 +10410,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -10496,7 +10496,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10582,7 +10582,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10653,7 +10653,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -10732,7 +10732,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -10825,7 +10825,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -10910,7 +10910,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -10990,7 +10990,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -11081,7 +11081,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -11150,7 +11150,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -11239,7 +11239,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -11381,7 +11381,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -11498,7 +11498,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -11558,7 +11558,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" }, { "lang": "cURL", @@ -11642,7 +11642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -11720,7 +11720,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -11786,7 +11786,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -11865,7 +11865,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -11933,7 +11933,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -12084,7 +12084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -12162,7 +12162,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -12234,7 +12234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -12301,7 +12301,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -12388,7 +12388,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -12461,7 +12461,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -12536,7 +12536,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -12602,7 +12602,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -12669,7 +12669,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -12756,7 +12756,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -12828,7 +12828,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -12906,7 +12906,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -12985,7 +12985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -13078,7 +13078,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -13174,7 +13174,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -13240,7 +13240,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -13470,7 +13470,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -13552,7 +13552,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -13629,7 +13629,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -13726,7 +13726,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -13804,7 +13804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -13896,7 +13896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -14019,7 +14019,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -14139,7 +14139,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -14196,7 +14196,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -14271,7 +14271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -14340,7 +14340,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -14418,7 +14418,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -14510,7 +14510,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -14589,7 +14589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -14722,7 +14722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -14803,7 +14803,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -14863,7 +14863,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -14969,7 +14969,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -15078,7 +15078,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -15179,7 +15179,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -15251,7 +15251,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -15336,7 +15336,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -15419,7 +15419,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -15525,7 +15525,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -15628,7 +15628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -15698,7 +15698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -15772,7 +15772,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15840,7 +15840,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -15908,7 +15908,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -15980,7 +15980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -16063,7 +16063,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -16124,7 +16124,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -16193,7 +16193,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -16280,7 +16280,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -16368,7 +16368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -16467,7 +16467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -16547,7 +16547,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -16628,7 +16628,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -16705,7 +16705,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -16771,7 +16771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -16837,7 +16837,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -16891,7 +16891,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -16946,7 +16946,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -17012,7 +17012,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -17066,7 +17066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -17120,7 +17120,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -17177,7 +17177,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -17234,7 +17234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -17291,7 +17291,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -17409,7 +17409,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -17492,7 +17492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -17571,7 +17571,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -17643,7 +17643,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -17713,7 +17713,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -17800,7 +17800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -17860,7 +17860,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -17929,7 +17929,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -17998,7 +17998,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -18068,7 +18068,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -18152,7 +18152,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -18227,7 +18227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -18318,7 +18318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -18390,7 +18390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -18462,7 +18462,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -18553,7 +18553,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -18638,7 +18638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -18721,7 +18721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -18804,7 +18804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -18876,7 +18876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -18936,7 +18936,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -19005,7 +19005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -19076,7 +19076,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -19157,7 +19157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19237,7 +19237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -19315,7 +19315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -19404,7 +19404,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -19479,7 +19479,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -19563,7 +19563,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -19648,7 +19648,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -19752,7 +19752,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -19846,7 +19846,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -19941,7 +19941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -20003,7 +20003,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -20077,7 +20077,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -20149,7 +20149,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -20218,7 +20218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -20290,7 +20290,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -20363,7 +20363,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -20429,7 +20429,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -20497,7 +20497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -20563,7 +20563,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -20640,7 +20640,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -20717,7 +20717,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -20833,7 +20833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -20910,7 +20910,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -20984,7 +20984,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -21109,7 +21109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -21341,7 +21341,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -21427,7 +21427,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -21537,7 +21537,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -21663,7 +21663,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -21780,7 +21780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -21843,7 +21843,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -21904,7 +21904,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -21977,7 +21977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -22050,7 +22050,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -22122,7 +22122,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -22188,7 +22188,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -22254,7 +22254,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -22326,7 +22326,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -22407,7 +22407,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -22494,7 +22494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -22578,7 +22578,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -22659,7 +22659,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -22741,7 +22741,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -22810,7 +22810,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -22883,7 +22883,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -22958,7 +22958,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -23031,7 +23031,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -23112,7 +23112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23178,7 +23178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -23248,7 +23248,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -23318,7 +23318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -23385,7 +23385,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -23466,7 +23466,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -23549,7 +23549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -23612,7 +23612,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -23684,7 +23684,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -23747,7 +23747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -23816,7 +23816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -23888,7 +23888,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -23963,7 +23963,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -24047,7 +24047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -24146,7 +24146,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -24221,7 +24221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -24302,7 +24302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -24383,7 +24383,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -24456,7 +24456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -24549,7 +24549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -24624,7 +24624,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -24706,7 +24706,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -24782,7 +24782,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -24873,7 +24873,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -24930,7 +24930,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -24999,7 +24999,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -25053,7 +25053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -25110,7 +25110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -25181,7 +25181,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -25250,7 +25250,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -25334,7 +25334,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -25406,7 +25406,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -25492,7 +25492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -25572,7 +25572,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -25647,7 +25647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -25713,7 +25713,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -25777,7 +25777,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -25852,7 +25852,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -25922,7 +25922,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -25992,7 +25992,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -26065,7 +26065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -26136,7 +26136,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -26221,7 +26221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -26303,7 +26303,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -26399,7 +26399,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -26489,7 +26489,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -26574,7 +26574,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -26642,7 +26642,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -26723,7 +26723,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -26828,7 +26828,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -26909,7 +26909,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -26972,7 +26972,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -27052,7 +27052,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -27127,7 +27127,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -27199,7 +27199,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -27271,7 +27271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -27343,7 +27343,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -27413,7 +27413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -27497,7 +27497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -27645,7 +27645,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -27705,7 +27705,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -27783,7 +27783,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -27854,7 +27854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -27917,7 +27917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -27974,7 +27974,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -28043,7 +28043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -28109,7 +28109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -28178,7 +28178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -28244,7 +28244,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -28311,7 +28311,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -28392,7 +28392,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -28467,7 +28467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -28547,7 +28547,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -28622,7 +28622,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" }, { "lang": "cURL", @@ -28685,7 +28685,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -28757,7 +28757,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -28833,7 +28833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -28912,7 +28912,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -28988,7 +28988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -29067,7 +29067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -29144,7 +29144,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -29235,7 +29235,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -29323,7 +29323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -29417,7 +29417,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -29505,7 +29505,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -29577,7 +29577,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -29652,7 +29652,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -29738,7 +29738,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -29781,7 +29781,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" }, { "lang": "cURL", @@ -29849,7 +29849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n --header \"Content-Type: application/vnd.atlas.2023-11-15+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -29916,7 +29916,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -29985,7 +29985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2023-11-15+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml index 5e77030fd9..c7c117e369 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2023-11-15.yaml @@ -29605,7 +29605,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -29642,7 +29642,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -29680,7 +29680,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -29718,7 +29718,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -29754,7 +29754,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -29795,7 +29795,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -29844,7 +29844,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -29892,7 +29892,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -29948,7 +29948,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -29989,7 +29989,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -30036,7 +30036,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -30085,7 +30085,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -30134,7 +30134,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -30191,7 +30191,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -30255,7 +30255,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -30306,7 +30306,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI lang: cURL @@ -30351,7 +30351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - label: Atlas CLI lang: cURL source: atlas api deleteIdentityProvider --help @@ -30398,7 +30398,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -30454,7 +30454,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -30499,7 +30499,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - label: Atlas CLI lang: cURL source: atlas api revokeJwksFromIdentityProvider --help @@ -30538,7 +30538,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -30578,7 +30578,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -30636,7 +30636,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -30675,7 +30675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -30712,7 +30712,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -30761,7 +30761,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -30811,7 +30811,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -30854,7 +30854,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -30909,7 +30909,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -30964,7 +30964,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -31014,7 +31014,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -31064,7 +31064,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -31106,7 +31106,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -31154,7 +31154,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -31204,7 +31204,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -31254,7 +31254,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -31314,7 +31314,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31377,7 +31377,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31432,7 +31432,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -31485,7 +31485,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -31535,7 +31535,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -31595,7 +31595,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -31650,7 +31650,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -31692,7 +31692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -31735,7 +31735,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -31786,7 +31786,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -31843,7 +31843,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -31898,7 +31898,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -31935,7 +31935,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -31980,7 +31980,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -32017,7 +32017,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -32060,7 +32060,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -32101,7 +32101,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -32152,7 +32152,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -32203,7 +32203,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -32250,7 +32250,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -32289,7 +32289,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -32343,7 +32343,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -32380,7 +32380,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -32426,7 +32426,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -32480,7 +32480,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -32525,7 +32525,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -32584,7 +32584,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -32631,7 +32631,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -32684,7 +32684,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -32740,7 +32740,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -32789,7 +32789,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -32849,7 +32849,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -32950,7 +32950,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help @@ -33007,7 +33007,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForCluster --help @@ -33055,7 +33055,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -33112,7 +33112,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -33163,7 +33163,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -33211,7 +33211,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -33272,7 +33272,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -33329,7 +33329,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -33382,7 +33382,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -33429,7 +33429,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -33475,7 +33475,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -33534,7 +33534,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -33586,7 +33586,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -33643,7 +33643,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -33700,7 +33700,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -33755,7 +33755,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -33818,7 +33818,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -33873,7 +33873,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -33928,7 +33928,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -33975,7 +33975,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -34036,7 +34036,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -34096,7 +34096,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -34144,7 +34144,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -34200,7 +34200,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -34247,7 +34247,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -34303,7 +34303,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -34352,7 +34352,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -34411,7 +34411,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -34459,7 +34459,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPinnedNamespaces --help @@ -34521,7 +34521,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -34584,7 +34584,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -34641,7 +34641,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI lang: cURL @@ -34703,7 +34703,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -34768,7 +34768,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -34829,7 +34829,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -34887,7 +34887,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -34957,7 +34957,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -35008,7 +35008,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -35058,7 +35058,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -35117,7 +35117,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -35180,7 +35180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -35241,7 +35241,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -35364,7 +35364,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -35416,7 +35416,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -35477,7 +35477,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -35537,7 +35537,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -35597,7 +35597,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -35667,7 +35667,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -35743,7 +35743,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -35795,7 +35795,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -35846,7 +35846,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -35903,7 +35903,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -35955,7 +35955,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -36017,7 +36017,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -36063,7 +36063,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -36126,7 +36126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -36181,7 +36181,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -36242,7 +36242,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -36290,7 +36290,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -36338,7 +36338,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -36396,7 +36396,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -36455,7 +36455,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -36506,7 +36506,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -36562,7 +36562,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -36622,7 +36622,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -36679,7 +36679,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -36733,7 +36733,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -36795,7 +36795,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -36841,7 +36841,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -36921,7 +36921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -36972,7 +36972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -37024,7 +37024,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -37077,7 +37077,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -37117,7 +37117,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceMetrics --help @@ -37169,7 +37169,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -37220,7 +37220,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -37273,7 +37273,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -37318,7 +37318,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -37379,7 +37379,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -37419,7 +37419,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -37457,7 +37457,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -37508,7 +37508,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -37555,7 +37555,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -37598,7 +37598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -37655,7 +37655,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -37703,7 +37703,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -37752,7 +37752,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -37795,7 +37795,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -37839,7 +37839,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -37896,7 +37896,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -37943,7 +37943,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -38003,7 +38003,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -38063,7 +38063,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -38134,7 +38134,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -38201,7 +38201,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -38240,7 +38240,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -38382,7 +38382,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -38449,7 +38449,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -38512,7 +38512,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -38589,7 +38589,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -38637,7 +38637,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -38703,7 +38703,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -38786,7 +38786,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -38865,7 +38865,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -38904,7 +38904,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -38965,7 +38965,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -39010,7 +39010,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -39061,7 +39061,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -39122,7 +39122,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -39174,7 +39174,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -39267,7 +39267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -39323,7 +39323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -39361,7 +39361,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -39429,7 +39429,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -39496,7 +39496,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -39562,7 +39562,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -39605,7 +39605,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -39663,7 +39663,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -39720,7 +39720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -39790,7 +39790,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -39859,7 +39859,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -39905,7 +39905,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -39954,7 +39954,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -40000,7 +40000,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -40047,7 +40047,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -40095,7 +40095,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -40152,7 +40152,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -40192,7 +40192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -40236,7 +40236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -40312,7 +40312,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -40389,7 +40389,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -40477,7 +40477,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -40538,7 +40538,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -40581,7 +40581,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -40623,7 +40623,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -40677,7 +40677,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -40730,7 +40730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -40765,7 +40765,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -40800,7 +40800,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -40844,7 +40844,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -40881,7 +40881,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -40918,7 +40918,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -40955,7 +40955,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -40991,7 +40991,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -41028,7 +41028,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -41106,7 +41106,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -41157,7 +41157,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -41209,7 +41209,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -41257,7 +41257,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -41303,7 +41303,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -41361,7 +41361,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -41401,7 +41401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -41447,7 +41447,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -41494,7 +41494,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -41540,7 +41540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -41597,7 +41597,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -41647,7 +41647,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -41704,7 +41704,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -41752,7 +41752,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -41801,7 +41801,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -41859,7 +41859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -41916,7 +41916,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -41972,7 +41972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -42027,7 +42027,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -42077,7 +42077,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -42133,7 +42133,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -42190,7 +42190,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -42260,7 +42260,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -42324,7 +42324,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -42388,7 +42388,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -42435,7 +42435,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -42474,7 +42474,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -42519,7 +42519,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -42567,7 +42567,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -42625,7 +42625,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -42680,7 +42680,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -42733,7 +42733,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -42794,7 +42794,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -42835,7 +42835,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -42884,7 +42884,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -42928,7 +42928,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -42992,7 +42992,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -43040,7 +43040,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -43088,7 +43088,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -43127,7 +43127,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -43171,7 +43171,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -43250,7 +43250,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help @@ -43289,7 +43289,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForHost --help @@ -43336,7 +43336,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -43386,7 +43386,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -43462,7 +43462,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -43509,7 +43509,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -43558,7 +43558,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -43650,7 +43650,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -43853,7 +43853,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -43917,7 +43917,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -43998,7 +43998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -44086,7 +44086,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -44126,7 +44126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -44165,7 +44165,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -44213,7 +44213,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -44262,7 +44262,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -44312,7 +44312,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -44357,7 +44357,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -44396,7 +44396,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -44443,7 +44443,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -44494,7 +44494,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -44552,7 +44552,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -44609,7 +44609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -44659,7 +44659,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -44715,7 +44715,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -44760,7 +44760,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -44810,7 +44810,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -44860,7 +44860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -44908,7 +44908,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -44962,7 +44962,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -45003,7 +45003,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectServiceAccounts --help @@ -45049,7 +45049,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -45095,7 +45095,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectServiceAccount --help @@ -45138,7 +45138,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectServiceAccount --help @@ -45191,7 +45191,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -45247,7 +45247,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -45288,7 +45288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -45335,7 +45335,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -45374,7 +45374,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -45419,7 +45419,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -45466,7 +45466,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -45515,7 +45515,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -45570,7 +45570,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -45638,7 +45638,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -45684,7 +45684,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -45737,7 +45737,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -45790,7 +45790,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -45838,7 +45838,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -45899,7 +45899,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -45945,7 +45945,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -45999,7 +45999,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -46051,7 +46051,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -46112,7 +46112,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -46149,7 +46149,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -46197,7 +46197,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -46236,7 +46236,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -46272,7 +46272,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -46318,7 +46318,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -46364,7 +46364,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -46415,7 +46415,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -46462,7 +46462,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -46519,7 +46519,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -46569,7 +46569,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -46618,7 +46618,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -46668,7 +46668,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -46717,7 +46717,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -46758,7 +46758,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -46807,7 +46807,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -46850,7 +46850,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -46896,7 +46896,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -46945,7 +46945,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -46992,7 +46992,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -47049,7 +47049,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -47101,7 +47101,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -47162,7 +47162,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -47223,7 +47223,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -47280,7 +47280,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -47325,7 +47325,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -47380,7 +47380,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -47451,7 +47451,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -47507,7 +47507,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -47547,7 +47547,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -47603,7 +47603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -47651,7 +47651,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -47698,7 +47698,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -47746,7 +47746,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -47793,7 +47793,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -47840,7 +47840,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -47896,7 +47896,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -47997,7 +47997,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -48050,7 +48050,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -48104,7 +48104,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -48142,7 +48142,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -48182,7 +48182,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -48219,7 +48219,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -48264,7 +48264,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -48305,7 +48305,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccounts --help @@ -48350,7 +48350,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -48393,7 +48393,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccount --help @@ -48436,7 +48436,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServiceAccount --help @@ -48489,7 +48489,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -48536,7 +48536,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccountProjects --help @@ -48588,7 +48588,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI lang: cURL @@ -48637,7 +48637,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccountSecret --help @@ -48677,7 +48677,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -48724,7 +48724,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -48771,7 +48771,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -48823,7 +48823,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -48876,7 +48876,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -48927,7 +48927,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -48988,7 +48988,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -49045,7 +49045,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -49108,7 +49108,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -49168,7 +49168,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -49217,7 +49217,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -49260,7 +49260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -49310,7 +49310,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -49367,7 +49367,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -49398,7 +49398,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllControlPlaneIPAddresses --help @@ -49448,7 +49448,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ --header "Content-Type: application/vnd.atlas.2023-11-15+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -49495,7 +49495,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -49539,7 +49539,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2023-11-15+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json index d988fb5901..758bcd7fb5 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.json @@ -251,7 +251,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -308,7 +308,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -371,7 +371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -434,7 +434,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -488,7 +488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -554,7 +554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -627,7 +627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -698,7 +698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -843,7 +843,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -988,7 +988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1062,7 +1062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1245,7 +1245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1384,7 +1384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" }, { "lang": "cURL", @@ -1455,7 +1455,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1601,7 +1601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" }, { "lang": "cURL", @@ -1661,7 +1661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1727,7 +1727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1887,7 +1887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1947,7 +1947,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -2005,7 +2005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2226,7 +2226,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2389,7 +2389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2465,7 +2465,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2542,7 +2542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2608,7 +2608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2747,7 +2747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2818,7 +2818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3067,7 +3067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3149,7 +3149,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3221,7 +3221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3386,7 +3386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3456,7 +3456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3598,7 +3598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3826,7 +3826,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3952,7 +3952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4084,7 +4084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4284,7 +4284,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4386,7 +4386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4446,7 +4446,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4585,7 +4585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4736,7 +4736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4805,7 +4805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4969,7 +4969,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -5049,7 +5049,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5135,7 +5135,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -5215,7 +5215,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5295,7 +5295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5378,7 +5378,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5452,7 +5452,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5541,7 +5541,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5620,7 +5620,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5779,7 +5779,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5857,7 +5857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6028,7 +6028,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -6107,7 +6107,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -6177,7 +6177,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -6246,7 +6246,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6329,7 +6329,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6411,7 +6411,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6492,7 +6492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6573,7 +6573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6655,7 +6655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6727,7 +6727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6811,7 +6811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6893,7 +6893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6986,7 +6986,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7078,7 +7078,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7167,7 +7167,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7239,7 +7239,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7323,7 +7323,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7395,7 +7395,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7479,7 +7479,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7558,7 +7558,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7646,7 +7646,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7718,7 +7718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" }, { "lang": "cURL", @@ -7810,7 +7810,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7902,7 +7902,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7985,7 +7985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8076,7 +8076,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8172,7 +8172,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -8262,7 +8262,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -8347,7 +8347,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -8449,7 +8449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8524,7 +8524,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -8599,7 +8599,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8686,7 +8686,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8780,7 +8780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8870,7 +8870,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9046,7 +9046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9128,7 +9128,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -9219,7 +9219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9328,7 +9328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -9416,7 +9416,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -9505,7 +9505,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -9608,7 +9608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9687,7 +9687,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9764,7 +9764,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9849,7 +9849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9926,7 +9926,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -10017,7 +10017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10084,7 +10084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10177,7 +10177,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -10259,7 +10259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10344,7 +10344,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -10419,7 +10419,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -10489,7 +10489,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -10573,7 +10573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10657,7 +10657,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10746,7 +10746,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" }, { "lang": "cURL", @@ -10834,7 +10834,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -10941,7 +10941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -11044,7 +11044,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" }, { "lang": "cURL", @@ -11145,7 +11145,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" }, { "lang": "cURL", @@ -11260,7 +11260,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11348,7 +11348,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" }, { "lang": "cURL", @@ -11444,7 +11444,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -11544,7 +11544,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11614,7 +11614,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -11693,7 +11693,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -11786,7 +11786,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -11871,7 +11871,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -11951,7 +11951,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -12042,7 +12042,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12111,7 +12111,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -12200,7 +12200,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -12342,7 +12342,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -12431,7 +12431,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12512,7 +12512,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12629,7 +12629,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -12689,7 +12689,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" }, { "lang": "cURL", @@ -12773,7 +12773,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -12851,7 +12851,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -12917,7 +12917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -12996,7 +12996,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -13064,7 +13064,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -13155,7 +13155,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13215,7 +13215,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -13293,7 +13293,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13365,7 +13365,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -13432,7 +13432,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -13519,7 +13519,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13592,7 +13592,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -13667,7 +13667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13733,7 +13733,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -13800,7 +13800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -13887,7 +13887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -13959,7 +13959,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -14037,7 +14037,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -14116,7 +14116,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -14209,7 +14209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14305,7 +14305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -14371,7 +14371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -14601,7 +14601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14683,7 +14683,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -14760,7 +14760,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -14857,7 +14857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -14935,7 +14935,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -15027,7 +15027,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15150,7 +15150,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -15270,7 +15270,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -15327,7 +15327,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -15402,7 +15402,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15471,7 +15471,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -15549,7 +15549,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -15641,7 +15641,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -15720,7 +15720,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -15853,7 +15853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -15934,7 +15934,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -15994,7 +15994,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -16100,7 +16100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16209,7 +16209,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16310,7 +16310,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16382,7 +16382,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -16467,7 +16467,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -16550,7 +16550,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -16656,7 +16656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16759,7 +16759,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16829,7 +16829,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -16903,7 +16903,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16971,7 +16971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17039,7 +17039,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -17111,7 +17111,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -17194,7 +17194,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17255,7 +17255,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -17324,7 +17324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -17411,7 +17411,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -17499,7 +17499,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -17598,7 +17598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17676,7 +17676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17754,7 +17754,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17830,7 +17830,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -17896,7 +17896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -17962,7 +17962,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -18016,7 +18016,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -18071,7 +18071,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -18137,7 +18137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18191,7 +18191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18245,7 +18245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18302,7 +18302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -18359,7 +18359,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -18416,7 +18416,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18534,7 +18534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -18617,7 +18617,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -18696,7 +18696,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18768,7 +18768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -18838,7 +18838,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -18925,7 +18925,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -18985,7 +18985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -19054,7 +19054,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19123,7 +19123,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -19193,7 +19193,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -19277,7 +19277,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19352,7 +19352,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -19443,7 +19443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -19515,7 +19515,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19587,7 +19587,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19678,7 +19678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -19763,7 +19763,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -19846,7 +19846,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -19929,7 +19929,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -20001,7 +20001,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20061,7 +20061,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -20130,7 +20130,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20201,7 +20201,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -20282,7 +20282,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20362,7 +20362,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -20440,7 +20440,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -20529,7 +20529,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20604,7 +20604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -20688,7 +20688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -20773,7 +20773,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -20877,7 +20877,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20971,7 +20971,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -21066,7 +21066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21128,7 +21128,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -21202,7 +21202,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21274,7 +21274,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -21343,7 +21343,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -21415,7 +21415,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -21488,7 +21488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21554,7 +21554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -21622,7 +21622,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -21688,7 +21688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -21765,7 +21765,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -21842,7 +21842,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -21958,7 +21958,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22035,7 +22035,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -22109,7 +22109,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -22234,7 +22234,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22466,7 +22466,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22552,7 +22552,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -22662,7 +22662,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -22788,7 +22788,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -22905,7 +22905,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22968,7 +22968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -23029,7 +23029,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -23102,7 +23102,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23175,7 +23175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23247,7 +23247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23313,7 +23313,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -23379,7 +23379,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -23451,7 +23451,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23532,7 +23532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -23619,7 +23619,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -23703,7 +23703,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -23784,7 +23784,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -23866,7 +23866,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -23935,7 +23935,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -24008,7 +24008,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24083,7 +24083,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -24156,7 +24156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -24237,7 +24237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24303,7 +24303,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -24373,7 +24373,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24443,7 +24443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -24510,7 +24510,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -24591,7 +24591,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24674,7 +24674,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24737,7 +24737,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -24809,7 +24809,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24872,7 +24872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -24941,7 +24941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -25013,7 +25013,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -25088,7 +25088,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -25172,7 +25172,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25271,7 +25271,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -25346,7 +25346,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -25427,7 +25427,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25508,7 +25508,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -25581,7 +25581,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -25674,7 +25674,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25757,7 +25757,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25835,7 +25835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" }, { "lang": "cURL", @@ -25914,7 +25914,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" }, { "lang": "cURL", @@ -25995,7 +25995,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26076,7 +26076,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26157,7 +26157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" }, { "lang": "cURL", @@ -26232,7 +26232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -26314,7 +26314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26390,7 +26390,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -26481,7 +26481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26538,7 +26538,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -26607,7 +26607,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26661,7 +26661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -26718,7 +26718,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -26789,7 +26789,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -26858,7 +26858,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -26942,7 +26942,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -27014,7 +27014,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -27100,7 +27100,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27165,7 +27165,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27245,7 +27245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -27320,7 +27320,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27386,7 +27386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -27450,7 +27450,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -27525,7 +27525,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -27595,7 +27595,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -27665,7 +27665,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -27738,7 +27738,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -27809,7 +27809,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -27894,7 +27894,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -27976,7 +27976,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -28072,7 +28072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28162,7 +28162,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -28247,7 +28247,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -28315,7 +28315,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -28396,7 +28396,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -28501,7 +28501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -28582,7 +28582,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -28645,7 +28645,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -28725,7 +28725,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -28800,7 +28800,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -28872,7 +28872,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -28944,7 +28944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29016,7 +29016,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -29086,7 +29086,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -29170,7 +29170,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -29318,7 +29318,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -29378,7 +29378,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -29456,7 +29456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -29527,7 +29527,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -29590,7 +29590,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -29647,7 +29647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -29716,7 +29716,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -29782,7 +29782,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -29851,7 +29851,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -29917,7 +29917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -29984,7 +29984,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -30065,7 +30065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30140,7 +30140,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -30220,7 +30220,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30295,7 +30295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" }, { "lang": "cURL", @@ -30358,7 +30358,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -30430,7 +30430,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -30506,7 +30506,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -30585,7 +30585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -30661,7 +30661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -30740,7 +30740,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -30817,7 +30817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -30908,7 +30908,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -30996,7 +30996,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31090,7 +31090,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31178,7 +31178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -31250,7 +31250,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31325,7 +31325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -31411,7 +31411,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31454,7 +31454,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" }, { "lang": "cURL", @@ -31522,7 +31522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-05-30+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -31589,7 +31589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -31658,7 +31658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-05-30+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml index 97f33b81ed..a524af0e24 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-05-30.yaml @@ -29872,7 +29872,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -29909,7 +29909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -29947,7 +29947,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -29985,7 +29985,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -30021,7 +30021,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -30062,7 +30062,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -30111,7 +30111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -30159,7 +30159,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -30215,7 +30215,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -30256,7 +30256,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -30303,7 +30303,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -30352,7 +30352,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -30401,7 +30401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -30458,7 +30458,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -30522,7 +30522,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -30573,7 +30573,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI lang: cURL @@ -30618,7 +30618,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - label: Atlas CLI lang: cURL source: atlas api deleteIdentityProvider --help @@ -30665,7 +30665,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -30721,7 +30721,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -30766,7 +30766,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - label: Atlas CLI lang: cURL source: atlas api revokeJwksFromIdentityProvider --help @@ -30805,7 +30805,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -30845,7 +30845,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -30903,7 +30903,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -30942,7 +30942,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -30979,7 +30979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -31028,7 +31028,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -31078,7 +31078,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -31121,7 +31121,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -31176,7 +31176,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -31231,7 +31231,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -31281,7 +31281,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -31331,7 +31331,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -31373,7 +31373,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -31421,7 +31421,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -31471,7 +31471,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -31521,7 +31521,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -31581,7 +31581,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31644,7 +31644,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31699,7 +31699,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -31752,7 +31752,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -31802,7 +31802,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -31861,7 +31861,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -31915,7 +31915,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -31957,7 +31957,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -32000,7 +32000,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -32051,7 +32051,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -32108,7 +32108,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32163,7 +32163,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32200,7 +32200,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -32245,7 +32245,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -32282,7 +32282,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -32325,7 +32325,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -32365,7 +32365,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -32451,7 +32451,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -32501,7 +32501,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -32570,7 +32570,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -32608,7 +32608,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -32662,7 +32662,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -32699,7 +32699,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -32745,7 +32745,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -32799,7 +32799,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -32844,7 +32844,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -32903,7 +32903,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -32950,7 +32950,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -33003,7 +33003,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -33059,7 +33059,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -33108,7 +33108,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -33168,7 +33168,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -33269,7 +33269,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help @@ -33326,7 +33326,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForCluster --help @@ -33374,7 +33374,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -33431,7 +33431,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -33482,7 +33482,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -33530,7 +33530,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -33591,7 +33591,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -33648,7 +33648,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -33701,7 +33701,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -33748,7 +33748,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -33794,7 +33794,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -33853,7 +33853,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -33905,7 +33905,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -33962,7 +33962,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -34019,7 +34019,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -34074,7 +34074,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -34137,7 +34137,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -34192,7 +34192,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -34247,7 +34247,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -34294,7 +34294,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -34355,7 +34355,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -34415,7 +34415,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -34463,7 +34463,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -34519,7 +34519,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -34566,7 +34566,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -34622,7 +34622,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -34671,7 +34671,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -34730,7 +34730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -34778,7 +34778,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPinnedNamespaces --help @@ -34840,7 +34840,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -34903,7 +34903,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -34960,7 +34960,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI lang: cURL @@ -35022,7 +35022,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -35087,7 +35087,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -35148,7 +35148,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -35206,7 +35206,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -35276,7 +35276,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -35327,7 +35327,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -35377,7 +35377,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -35436,7 +35436,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -35499,7 +35499,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -35560,7 +35560,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -35683,7 +35683,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -35735,7 +35735,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -35796,7 +35796,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -35856,7 +35856,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -35916,7 +35916,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -35986,7 +35986,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -36062,7 +36062,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -36114,7 +36114,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -36165,7 +36165,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -36222,7 +36222,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -36274,7 +36274,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -36336,7 +36336,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -36382,7 +36382,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -36445,7 +36445,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -36500,7 +36500,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -36561,7 +36561,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -36610,7 +36610,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -36656,7 +36656,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -36712,7 +36712,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -36769,7 +36769,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -36828,7 +36828,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesCluster --help @@ -36887,7 +36887,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI lang: cURL @@ -36958,7 +36958,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexes --help @@ -37026,7 +37026,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexByName --help @@ -37093,7 +37093,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexByName --help @@ -37170,7 +37170,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI lang: cURL @@ -37230,7 +37230,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndex --help @@ -37294,7 +37294,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndex --help @@ -37362,7 +37362,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -37412,7 +37412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -37468,7 +37468,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -37528,7 +37528,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -37585,7 +37585,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -37639,7 +37639,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -37701,7 +37701,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -37747,7 +37747,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -37806,7 +37806,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -37861,7 +37861,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -37942,7 +37942,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -37993,7 +37993,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -38045,7 +38045,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -38098,7 +38098,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -38138,7 +38138,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceMetrics --help @@ -38190,7 +38190,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -38241,7 +38241,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -38294,7 +38294,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -38339,7 +38339,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -38400,7 +38400,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -38440,7 +38440,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -38478,7 +38478,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -38529,7 +38529,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -38576,7 +38576,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -38619,7 +38619,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -38676,7 +38676,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -38724,7 +38724,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -38773,7 +38773,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -38816,7 +38816,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -38860,7 +38860,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -38917,7 +38917,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -38964,7 +38964,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -39024,7 +39024,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -39084,7 +39084,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -39155,7 +39155,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -39222,7 +39222,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -39261,7 +39261,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -39403,7 +39403,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -39470,7 +39470,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -39533,7 +39533,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -39610,7 +39610,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -39658,7 +39658,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -39724,7 +39724,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -39807,7 +39807,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -39886,7 +39886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -39925,7 +39925,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -39986,7 +39986,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -40031,7 +40031,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -40082,7 +40082,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -40143,7 +40143,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -40195,7 +40195,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -40288,7 +40288,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -40344,7 +40344,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -40382,7 +40382,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -40450,7 +40450,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -40517,7 +40517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -40583,7 +40583,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -40626,7 +40626,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -40684,7 +40684,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -40741,7 +40741,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -40811,7 +40811,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -40880,7 +40880,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -40926,7 +40926,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -40975,7 +40975,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41021,7 +41021,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41068,7 +41068,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -41116,7 +41116,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -41173,7 +41173,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -41213,7 +41213,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -41257,7 +41257,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -41333,7 +41333,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -41410,7 +41410,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -41498,7 +41498,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -41557,7 +41557,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -41599,7 +41599,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -41641,7 +41641,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -41693,7 +41693,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -41745,7 +41745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -41780,7 +41780,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -41815,7 +41815,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -41859,7 +41859,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -41896,7 +41896,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -41933,7 +41933,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -41970,7 +41970,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -42006,7 +42006,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -42043,7 +42043,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -42121,7 +42121,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -42172,7 +42172,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -42224,7 +42224,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -42272,7 +42272,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -42318,7 +42318,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -42376,7 +42376,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -42416,7 +42416,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -42462,7 +42462,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -42509,7 +42509,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -42555,7 +42555,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -42612,7 +42612,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -42662,7 +42662,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -42719,7 +42719,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -42767,7 +42767,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -42816,7 +42816,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -42874,7 +42874,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -42931,7 +42931,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -42987,7 +42987,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -43042,7 +43042,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -43092,7 +43092,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -43148,7 +43148,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -43205,7 +43205,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -43275,7 +43275,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -43339,7 +43339,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -43403,7 +43403,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -43450,7 +43450,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -43489,7 +43489,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -43534,7 +43534,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -43582,7 +43582,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -43640,7 +43640,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -43695,7 +43695,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -43748,7 +43748,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -43809,7 +43809,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -43850,7 +43850,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -43899,7 +43899,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -43943,7 +43943,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -44007,7 +44007,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -44055,7 +44055,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -44103,7 +44103,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -44142,7 +44142,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -44186,7 +44186,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -44265,7 +44265,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help @@ -44304,7 +44304,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForHost --help @@ -44351,7 +44351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -44401,7 +44401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -44477,7 +44477,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -44524,7 +44524,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -44573,7 +44573,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -44665,7 +44665,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -44868,7 +44868,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -44932,7 +44932,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -45013,7 +45013,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -45101,7 +45101,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -45141,7 +45141,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -45180,7 +45180,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -45228,7 +45228,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -45277,7 +45277,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -45327,7 +45327,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -45372,7 +45372,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -45411,7 +45411,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -45458,7 +45458,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -45509,7 +45509,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -45567,7 +45567,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -45624,7 +45624,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -45674,7 +45674,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -45730,7 +45730,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -45775,7 +45775,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -45825,7 +45825,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -45875,7 +45875,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -45923,7 +45923,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -45977,7 +45977,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -46018,7 +46018,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectServiceAccounts --help @@ -46064,7 +46064,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -46110,7 +46110,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectServiceAccount --help @@ -46153,7 +46153,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectServiceAccount --help @@ -46206,7 +46206,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -46262,7 +46262,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -46303,7 +46303,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -46350,7 +46350,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -46389,7 +46389,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -46434,7 +46434,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -46481,7 +46481,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -46530,7 +46530,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -46585,7 +46585,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -46653,7 +46653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -46699,7 +46699,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -46752,7 +46752,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -46805,7 +46805,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -46853,7 +46853,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -46914,7 +46914,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -46969,7 +46969,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI lang: cURL @@ -47020,7 +47020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamProcessor --help @@ -47071,7 +47071,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamProcessor --help @@ -47124,7 +47124,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI lang: cURL @@ -47178,7 +47178,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI lang: cURL @@ -47228,7 +47228,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamProcessors --help @@ -47273,7 +47273,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -47327,7 +47327,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -47379,7 +47379,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -47440,7 +47440,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -47477,7 +47477,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -47525,7 +47525,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -47564,7 +47564,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -47600,7 +47600,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -47646,7 +47646,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -47692,7 +47692,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -47743,7 +47743,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -47790,7 +47790,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -47847,7 +47847,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -47891,7 +47891,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI lang: cURL @@ -47941,7 +47941,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -47990,7 +47990,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -48040,7 +48040,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -48089,7 +48089,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -48130,7 +48130,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -48179,7 +48179,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -48222,7 +48222,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -48268,7 +48268,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -48317,7 +48317,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -48364,7 +48364,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -48421,7 +48421,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -48473,7 +48473,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -48534,7 +48534,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -48595,7 +48595,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -48652,7 +48652,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -48697,7 +48697,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -48752,7 +48752,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -48823,7 +48823,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -48879,7 +48879,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -48919,7 +48919,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -48975,7 +48975,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -49023,7 +49023,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -49070,7 +49070,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -49118,7 +49118,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -49165,7 +49165,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -49212,7 +49212,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -49268,7 +49268,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -49369,7 +49369,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -49422,7 +49422,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -49476,7 +49476,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -49514,7 +49514,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -49554,7 +49554,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -49591,7 +49591,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -49636,7 +49636,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -49677,7 +49677,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccounts --help @@ -49722,7 +49722,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -49765,7 +49765,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccount --help @@ -49808,7 +49808,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServiceAccount --help @@ -49861,7 +49861,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -49908,7 +49908,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccountProjects --help @@ -49960,7 +49960,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI lang: cURL @@ -50009,7 +50009,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccountSecret --help @@ -50049,7 +50049,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -50096,7 +50096,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -50143,7 +50143,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -50195,7 +50195,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -50248,7 +50248,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -50299,7 +50299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -50360,7 +50360,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -50417,7 +50417,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -50480,7 +50480,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -50540,7 +50540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -50589,7 +50589,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -50632,7 +50632,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -50682,7 +50682,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -50739,7 +50739,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -50770,7 +50770,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllControlPlaneIPAddresses --help @@ -50820,7 +50820,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ --header "Content-Type: application/vnd.atlas.2024-05-30+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -50867,7 +50867,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -50911,7 +50911,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-05-30+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json index 04c1806404..25c382684f 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.json @@ -251,7 +251,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -308,7 +308,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -371,7 +371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -434,7 +434,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -488,7 +488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -554,7 +554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -627,7 +627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -698,7 +698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -843,7 +843,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -988,7 +988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1062,7 +1062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1245,7 +1245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1384,7 +1384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" }, { "lang": "cURL", @@ -1455,7 +1455,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1601,7 +1601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" }, { "lang": "cURL", @@ -1661,7 +1661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1727,7 +1727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1887,7 +1887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1947,7 +1947,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -2005,7 +2005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2226,7 +2226,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2389,7 +2389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2465,7 +2465,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2542,7 +2542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2608,7 +2608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2747,7 +2747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2818,7 +2818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3067,7 +3067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3149,7 +3149,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3221,7 +3221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3386,7 +3386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3456,7 +3456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3598,7 +3598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3826,7 +3826,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3952,7 +3952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4084,7 +4084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4284,7 +4284,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4386,7 +4386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4446,7 +4446,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4585,7 +4585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4736,7 +4736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4805,7 +4805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4968,7 +4968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -5053,7 +5053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5138,7 +5138,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -5218,7 +5218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5298,7 +5298,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5381,7 +5381,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5454,7 +5454,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5542,7 +5542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5620,7 +5620,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5779,7 +5779,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5857,7 +5857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6028,7 +6028,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -6107,7 +6107,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -6176,7 +6176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -6243,7 +6243,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6324,7 +6324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6405,7 +6405,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6486,7 +6486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6567,7 +6567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6649,7 +6649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6721,7 +6721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6805,7 +6805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6887,7 +6887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6980,7 +6980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7072,7 +7072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7161,7 +7161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7233,7 +7233,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7317,7 +7317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7389,7 +7389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7473,7 +7473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7552,7 +7552,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7640,7 +7640,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7712,7 +7712,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" }, { "lang": "cURL", @@ -7804,7 +7804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7896,7 +7896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7979,7 +7979,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8070,7 +8070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8166,7 +8166,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -8256,7 +8256,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -8341,7 +8341,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -8443,7 +8443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8517,7 +8517,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -8590,7 +8590,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8676,7 +8676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8768,7 +8768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8857,7 +8857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9032,7 +9032,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9114,7 +9114,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -9205,7 +9205,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9314,7 +9314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -9402,7 +9402,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -9491,7 +9491,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -9594,7 +9594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9673,7 +9673,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9750,7 +9750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9835,7 +9835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9911,7 +9911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -10000,7 +10000,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10066,7 +10066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10159,7 +10159,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -10241,7 +10241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10326,7 +10326,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -10401,7 +10401,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -10471,7 +10471,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -10555,7 +10555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10639,7 +10639,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10728,7 +10728,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" }, { "lang": "cURL", @@ -10816,7 +10816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -10923,7 +10923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -11026,7 +11026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" }, { "lang": "cURL", @@ -11127,7 +11127,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" }, { "lang": "cURL", @@ -11242,7 +11242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11330,7 +11330,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" }, { "lang": "cURL", @@ -11426,7 +11426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -11526,7 +11526,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11596,7 +11596,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -11675,7 +11675,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -11768,7 +11768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -11853,7 +11853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -11933,7 +11933,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12093,7 +12093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -12182,7 +12182,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -12324,7 +12324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -12413,7 +12413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12494,7 +12494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12611,7 +12611,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -12671,7 +12671,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" }, { "lang": "cURL", @@ -12755,7 +12755,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -12833,7 +12833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -12899,7 +12899,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -12978,7 +12978,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -13046,7 +13046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -13137,7 +13137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13197,7 +13197,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -13275,7 +13275,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13347,7 +13347,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -13414,7 +13414,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -13501,7 +13501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13574,7 +13574,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -13649,7 +13649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13715,7 +13715,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -13782,7 +13782,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -13869,7 +13869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -13941,7 +13941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -14019,7 +14019,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -14098,7 +14098,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -14191,7 +14191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14287,7 +14287,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -14353,7 +14353,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -14583,7 +14583,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14665,7 +14665,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -14742,7 +14742,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -14839,7 +14839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -14917,7 +14917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -15009,7 +15009,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15132,7 +15132,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -15252,7 +15252,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -15309,7 +15309,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -15384,7 +15384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15453,7 +15453,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -15531,7 +15531,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -15623,7 +15623,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -15702,7 +15702,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -15835,7 +15835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -15916,7 +15916,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -15976,7 +15976,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -16082,7 +16082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16191,7 +16191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16292,7 +16292,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16364,7 +16364,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -16449,7 +16449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -16532,7 +16532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -16638,7 +16638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16741,7 +16741,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16811,7 +16811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -16885,7 +16885,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16953,7 +16953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17021,7 +17021,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -17093,7 +17093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -17176,7 +17176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17237,7 +17237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -17306,7 +17306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -17393,7 +17393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -17481,7 +17481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -17580,7 +17580,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17658,7 +17658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17736,7 +17736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17812,7 +17812,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -17878,7 +17878,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -17944,7 +17944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -17998,7 +17998,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -18053,7 +18053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -18119,7 +18119,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18173,7 +18173,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18227,7 +18227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18284,7 +18284,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -18341,7 +18341,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -18398,7 +18398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18516,7 +18516,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -18599,7 +18599,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -18678,7 +18678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18750,7 +18750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -18820,7 +18820,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -18907,7 +18907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -18967,7 +18967,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -19036,7 +19036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19105,7 +19105,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -19175,7 +19175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -19259,7 +19259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19334,7 +19334,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -19425,7 +19425,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -19497,7 +19497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19569,7 +19569,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19660,7 +19660,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -19745,7 +19745,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -19828,7 +19828,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -19911,7 +19911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -19983,7 +19983,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20043,7 +20043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -20112,7 +20112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20183,7 +20183,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -20264,7 +20264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20344,7 +20344,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -20422,7 +20422,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -20511,7 +20511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20586,7 +20586,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -20670,7 +20670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -20755,7 +20755,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -20859,7 +20859,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20953,7 +20953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -21048,7 +21048,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21110,7 +21110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -21184,7 +21184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21256,7 +21256,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -21325,7 +21325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -21397,7 +21397,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -21470,7 +21470,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21536,7 +21536,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -21604,7 +21604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -21670,7 +21670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -21747,7 +21747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -21824,7 +21824,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -21940,7 +21940,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22017,7 +22017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -22091,7 +22091,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -22216,7 +22216,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22448,7 +22448,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22534,7 +22534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -22644,7 +22644,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -22770,7 +22770,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -22887,7 +22887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22950,7 +22950,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -23011,7 +23011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -23084,7 +23084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23157,7 +23157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23229,7 +23229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23295,7 +23295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -23361,7 +23361,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -23433,7 +23433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23514,7 +23514,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -23601,7 +23601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -23685,7 +23685,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -23766,7 +23766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -23848,7 +23848,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -23917,7 +23917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -23990,7 +23990,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24065,7 +24065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -24138,7 +24138,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -24219,7 +24219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24285,7 +24285,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -24355,7 +24355,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24425,7 +24425,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -24492,7 +24492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -24573,7 +24573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24656,7 +24656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24719,7 +24719,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -24791,7 +24791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24854,7 +24854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -24923,7 +24923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -24995,7 +24995,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -25070,7 +25070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -25154,7 +25154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25253,7 +25253,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -25328,7 +25328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -25409,7 +25409,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25490,7 +25490,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -25563,7 +25563,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -25656,7 +25656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25739,7 +25739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25817,7 +25817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" }, { "lang": "cURL", @@ -25896,7 +25896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" }, { "lang": "cURL", @@ -25977,7 +25977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26058,7 +26058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26139,7 +26139,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" }, { "lang": "cURL", @@ -26214,7 +26214,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -26296,7 +26296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26372,7 +26372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -26463,7 +26463,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26520,7 +26520,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -26589,7 +26589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26643,7 +26643,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -26700,7 +26700,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -26840,7 +26840,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -26924,7 +26924,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -26996,7 +26996,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -27082,7 +27082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27147,7 +27147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27227,7 +27227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -27302,7 +27302,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27368,7 +27368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -27432,7 +27432,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -27507,7 +27507,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -27577,7 +27577,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -27647,7 +27647,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -27720,7 +27720,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -27791,7 +27791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -27876,7 +27876,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -27958,7 +27958,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -28054,7 +28054,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28144,7 +28144,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -28229,7 +28229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -28297,7 +28297,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -28378,7 +28378,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -28483,7 +28483,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -28564,7 +28564,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -28627,7 +28627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -28707,7 +28707,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -28782,7 +28782,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -28854,7 +28854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -28926,7 +28926,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -28998,7 +28998,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -29068,7 +29068,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -29152,7 +29152,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -29300,7 +29300,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -29360,7 +29360,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -29438,7 +29438,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -29509,7 +29509,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -29572,7 +29572,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -29629,7 +29629,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -29698,7 +29698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -29764,7 +29764,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -29833,7 +29833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -29899,7 +29899,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -29966,7 +29966,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -30047,7 +30047,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30122,7 +30122,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -30202,7 +30202,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30277,7 +30277,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" }, { "lang": "cURL", @@ -30340,7 +30340,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -30412,7 +30412,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -30488,7 +30488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -30567,7 +30567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -30643,7 +30643,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -30722,7 +30722,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -30799,7 +30799,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -30890,7 +30890,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -30978,7 +30978,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31072,7 +31072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31160,7 +31160,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -31232,7 +31232,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31307,7 +31307,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -31393,7 +31393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31436,7 +31436,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" }, { "lang": "cURL", @@ -31504,7 +31504,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n --header \"Content-Type: application/vnd.atlas.2024-08-05+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -31571,7 +31571,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -31640,7 +31640,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2024-08-05+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml index 16dca8d65a..ad54462451 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2024-08-05.yaml @@ -30150,7 +30150,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -30187,7 +30187,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -30225,7 +30225,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -30263,7 +30263,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -30299,7 +30299,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -30340,7 +30340,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -30389,7 +30389,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -30437,7 +30437,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -30493,7 +30493,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -30534,7 +30534,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -30581,7 +30581,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -30630,7 +30630,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -30679,7 +30679,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -30736,7 +30736,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -30800,7 +30800,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -30851,7 +30851,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI lang: cURL @@ -30896,7 +30896,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - label: Atlas CLI lang: cURL source: atlas api deleteIdentityProvider --help @@ -30943,7 +30943,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -30999,7 +30999,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -31044,7 +31044,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - label: Atlas CLI lang: cURL source: atlas api revokeJwksFromIdentityProvider --help @@ -31083,7 +31083,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -31123,7 +31123,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -31181,7 +31181,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -31220,7 +31220,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -31257,7 +31257,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -31306,7 +31306,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -31356,7 +31356,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -31399,7 +31399,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -31454,7 +31454,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -31509,7 +31509,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -31559,7 +31559,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -31609,7 +31609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -31651,7 +31651,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -31699,7 +31699,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -31749,7 +31749,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -31799,7 +31799,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -31859,7 +31859,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31922,7 +31922,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -31977,7 +31977,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -32030,7 +32030,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -32080,7 +32080,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -32139,7 +32139,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -32193,7 +32193,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -32235,7 +32235,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -32278,7 +32278,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -32329,7 +32329,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -32386,7 +32386,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32441,7 +32441,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32478,7 +32478,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -32523,7 +32523,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -32560,7 +32560,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -32603,7 +32603,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -32643,7 +32643,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -32729,7 +32729,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -32779,7 +32779,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -32848,7 +32848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -32886,7 +32886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -32940,7 +32940,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -32977,7 +32977,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -33023,7 +33023,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -33077,7 +33077,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -33122,7 +33122,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -33181,7 +33181,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -33227,7 +33227,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -33406,7 +33406,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -33461,7 +33461,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -33509,7 +33509,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -33568,7 +33568,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -33668,7 +33668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help @@ -33725,7 +33725,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForCluster --help @@ -33773,7 +33773,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -33830,7 +33830,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -33881,7 +33881,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -33929,7 +33929,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -33990,7 +33990,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -34047,7 +34047,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -34100,7 +34100,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -34146,7 +34146,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -34190,7 +34190,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -34247,7 +34247,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -34298,7 +34298,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -34355,7 +34355,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -34412,7 +34412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -34467,7 +34467,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -34530,7 +34530,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -34585,7 +34585,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -34640,7 +34640,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -34687,7 +34687,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -34748,7 +34748,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -34808,7 +34808,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -34856,7 +34856,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -34912,7 +34912,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -34959,7 +34959,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -35015,7 +35015,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -35064,7 +35064,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -35123,7 +35123,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -35171,7 +35171,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPinnedNamespaces --help @@ -35233,7 +35233,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -35296,7 +35296,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -35353,7 +35353,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI lang: cURL @@ -35415,7 +35415,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -35480,7 +35480,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -35541,7 +35541,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -35599,7 +35599,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -35669,7 +35669,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -35719,7 +35719,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -35767,7 +35767,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -35825,7 +35825,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -35886,7 +35886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -35946,7 +35946,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -36068,7 +36068,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -36120,7 +36120,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -36181,7 +36181,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -36241,7 +36241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -36301,7 +36301,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -36371,7 +36371,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -36447,7 +36447,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -36499,7 +36499,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -36550,7 +36550,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -36607,7 +36607,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -36658,7 +36658,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -36718,7 +36718,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -36763,7 +36763,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -36826,7 +36826,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -36881,7 +36881,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -36942,7 +36942,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -36991,7 +36991,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -37037,7 +37037,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -37093,7 +37093,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -37150,7 +37150,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -37209,7 +37209,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesCluster --help @@ -37268,7 +37268,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI lang: cURL @@ -37339,7 +37339,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexes --help @@ -37407,7 +37407,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexByName --help @@ -37474,7 +37474,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexByName --help @@ -37551,7 +37551,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI lang: cURL @@ -37611,7 +37611,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndex --help @@ -37675,7 +37675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndex --help @@ -37743,7 +37743,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -37793,7 +37793,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -37849,7 +37849,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -37909,7 +37909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -37966,7 +37966,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -38020,7 +38020,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -38082,7 +38082,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -38128,7 +38128,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -38187,7 +38187,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -38242,7 +38242,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -38323,7 +38323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -38374,7 +38374,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -38426,7 +38426,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -38479,7 +38479,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -38519,7 +38519,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceMetrics --help @@ -38571,7 +38571,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -38622,7 +38622,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -38675,7 +38675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -38720,7 +38720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -38781,7 +38781,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -38821,7 +38821,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -38859,7 +38859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -38910,7 +38910,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -38957,7 +38957,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -39000,7 +39000,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -39057,7 +39057,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -39105,7 +39105,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -39154,7 +39154,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -39197,7 +39197,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -39241,7 +39241,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -39298,7 +39298,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -39345,7 +39345,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -39405,7 +39405,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -39465,7 +39465,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -39536,7 +39536,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -39603,7 +39603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -39642,7 +39642,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -39784,7 +39784,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -39851,7 +39851,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -39914,7 +39914,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -39991,7 +39991,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -40039,7 +40039,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -40105,7 +40105,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -40188,7 +40188,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -40267,7 +40267,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -40306,7 +40306,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -40367,7 +40367,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -40412,7 +40412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -40463,7 +40463,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -40524,7 +40524,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -40576,7 +40576,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -40669,7 +40669,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -40725,7 +40725,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -40763,7 +40763,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -40831,7 +40831,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -40898,7 +40898,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -40964,7 +40964,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -41007,7 +41007,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -41065,7 +41065,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -41122,7 +41122,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -41192,7 +41192,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -41261,7 +41261,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -41307,7 +41307,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -41356,7 +41356,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41402,7 +41402,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41449,7 +41449,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -41497,7 +41497,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -41554,7 +41554,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -41594,7 +41594,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -41638,7 +41638,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -41714,7 +41714,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -41791,7 +41791,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -41879,7 +41879,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -41938,7 +41938,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -41980,7 +41980,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -42022,7 +42022,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -42074,7 +42074,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -42126,7 +42126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -42161,7 +42161,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -42196,7 +42196,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -42240,7 +42240,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -42277,7 +42277,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -42314,7 +42314,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -42351,7 +42351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -42387,7 +42387,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -42424,7 +42424,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -42502,7 +42502,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -42553,7 +42553,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -42605,7 +42605,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -42653,7 +42653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -42699,7 +42699,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -42757,7 +42757,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -42797,7 +42797,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -42843,7 +42843,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -42890,7 +42890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -42936,7 +42936,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -42993,7 +42993,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -43043,7 +43043,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -43100,7 +43100,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -43148,7 +43148,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -43197,7 +43197,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -43255,7 +43255,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -43312,7 +43312,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -43368,7 +43368,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -43423,7 +43423,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -43473,7 +43473,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -43529,7 +43529,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -43586,7 +43586,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -43656,7 +43656,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -43720,7 +43720,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -43784,7 +43784,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -43831,7 +43831,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -43870,7 +43870,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -43915,7 +43915,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -43963,7 +43963,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -44021,7 +44021,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -44076,7 +44076,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -44129,7 +44129,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -44190,7 +44190,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -44231,7 +44231,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -44280,7 +44280,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -44324,7 +44324,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -44388,7 +44388,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -44436,7 +44436,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -44484,7 +44484,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -44523,7 +44523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -44567,7 +44567,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -44646,7 +44646,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help @@ -44685,7 +44685,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForHost --help @@ -44732,7 +44732,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -44782,7 +44782,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -44858,7 +44858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -44905,7 +44905,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -44954,7 +44954,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -45046,7 +45046,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -45249,7 +45249,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -45313,7 +45313,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -45394,7 +45394,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -45482,7 +45482,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -45522,7 +45522,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -45561,7 +45561,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -45609,7 +45609,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -45658,7 +45658,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -45708,7 +45708,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -45753,7 +45753,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -45792,7 +45792,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -45839,7 +45839,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -45890,7 +45890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -45948,7 +45948,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -46005,7 +46005,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -46055,7 +46055,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -46111,7 +46111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -46156,7 +46156,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -46206,7 +46206,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -46256,7 +46256,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -46304,7 +46304,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -46358,7 +46358,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -46399,7 +46399,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectServiceAccounts --help @@ -46445,7 +46445,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -46491,7 +46491,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectServiceAccount --help @@ -46534,7 +46534,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectServiceAccount --help @@ -46587,7 +46587,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -46643,7 +46643,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -46684,7 +46684,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -46731,7 +46731,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -46770,7 +46770,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -46815,7 +46815,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -46862,7 +46862,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -46911,7 +46911,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -46966,7 +46966,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -47034,7 +47034,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -47080,7 +47080,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -47133,7 +47133,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -47186,7 +47186,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -47234,7 +47234,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -47295,7 +47295,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -47350,7 +47350,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI lang: cURL @@ -47401,7 +47401,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamProcessor --help @@ -47452,7 +47452,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamProcessor --help @@ -47505,7 +47505,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI lang: cURL @@ -47559,7 +47559,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI lang: cURL @@ -47609,7 +47609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamProcessors --help @@ -47654,7 +47654,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -47708,7 +47708,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -47760,7 +47760,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -47821,7 +47821,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -47858,7 +47858,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -47906,7 +47906,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -47945,7 +47945,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -47981,7 +47981,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -48027,7 +48027,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -48073,7 +48073,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -48124,7 +48124,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -48171,7 +48171,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -48228,7 +48228,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -48272,7 +48272,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI lang: cURL @@ -48322,7 +48322,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -48371,7 +48371,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -48421,7 +48421,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -48470,7 +48470,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -48511,7 +48511,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -48560,7 +48560,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -48603,7 +48603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -48649,7 +48649,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -48698,7 +48698,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -48745,7 +48745,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -48802,7 +48802,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -48854,7 +48854,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -48915,7 +48915,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -48976,7 +48976,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -49033,7 +49033,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -49078,7 +49078,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -49133,7 +49133,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -49204,7 +49204,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -49260,7 +49260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -49300,7 +49300,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -49356,7 +49356,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -49404,7 +49404,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -49451,7 +49451,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -49499,7 +49499,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -49546,7 +49546,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -49593,7 +49593,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -49649,7 +49649,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -49750,7 +49750,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -49803,7 +49803,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -49857,7 +49857,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -49895,7 +49895,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -49935,7 +49935,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -49972,7 +49972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -50017,7 +50017,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -50058,7 +50058,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccounts --help @@ -50103,7 +50103,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -50146,7 +50146,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccount --help @@ -50189,7 +50189,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServiceAccount --help @@ -50242,7 +50242,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -50289,7 +50289,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccountProjects --help @@ -50341,7 +50341,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI lang: cURL @@ -50390,7 +50390,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccountSecret --help @@ -50430,7 +50430,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -50477,7 +50477,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -50524,7 +50524,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -50576,7 +50576,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -50629,7 +50629,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -50680,7 +50680,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -50741,7 +50741,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -50798,7 +50798,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -50861,7 +50861,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -50921,7 +50921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -50970,7 +50970,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -51013,7 +51013,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -51063,7 +51063,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -51120,7 +51120,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -51151,7 +51151,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllControlPlaneIPAddresses --help @@ -51201,7 +51201,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ --header "Content-Type: application/vnd.atlas.2024-08-05+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -51248,7 +51248,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -51292,7 +51292,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2024-08-05+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json index 2758629645..232e951dce 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json @@ -251,7 +251,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2?pretty=true\"" }, { "lang": "cURL", @@ -308,7 +308,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true\"" }, { "lang": "cURL", @@ -371,7 +371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true\"" }, { "lang": "cURL", @@ -434,7 +434,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/eventTypes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true\"" }, { "lang": "cURL", @@ -488,7 +488,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}\"" }, { "lang": "cURL", @@ -554,7 +554,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true\"" }, { "lang": "cURL", @@ -627,7 +627,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"" }, { "lang": "cURL", @@ -698,7 +698,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -780,7 +780,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -843,7 +843,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true\"" }, { "lang": "cURL", @@ -915,7 +915,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings\"\n -d { }" }, { "lang": "cURL", @@ -988,7 +988,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"" }, { "lang": "cURL", @@ -1062,7 +1062,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true\"" }, { "lang": "cURL", @@ -1147,7 +1147,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}\"\n -d { }" }, { "lang": "cURL", @@ -1245,7 +1245,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true\"" }, { "lang": "cURL", @@ -1317,7 +1317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders\"\n -d { }" }, { "lang": "cURL", @@ -1384,7 +1384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"" }, { "lang": "cURL", @@ -1455,7 +1455,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true\"" }, { "lang": "cURL", @@ -1534,7 +1534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}\"\n -d { }" }, { "lang": "cURL", @@ -1601,7 +1601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks\"" }, { "lang": "cURL", @@ -1661,7 +1661,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true\"" }, { "lang": "cURL", @@ -1727,7 +1727,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true\"" }, { "lang": "cURL", @@ -1813,7 +1813,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups\"\n -d { }" }, { "lang": "cURL", @@ -1887,7 +1887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true\"" }, { "lang": "cURL", @@ -1947,7 +1947,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"" }, { "lang": "cURL", @@ -2005,7 +2005,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true\"" }, { "lang": "cURL", @@ -2080,7 +2080,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}\"\n -d { }" }, { "lang": "cURL", @@ -2156,7 +2156,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/access\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access\"\n -d { }" }, { "lang": "cURL", @@ -2226,7 +2226,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -2314,7 +2314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -2389,7 +2389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}\"" }, { "lang": "cURL", @@ -2465,7 +2465,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true\"" }, { "lang": "cURL", @@ -2542,7 +2542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true\"" }, { "lang": "cURL", @@ -2608,7 +2608,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -2677,7 +2677,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs\"\n -d { }" }, { "lang": "cURL", @@ -2747,7 +2747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"" }, { "lang": "cURL", @@ -2818,7 +2818,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true\"" }, { "lang": "cURL", @@ -2900,7 +2900,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -2985,7 +2985,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}\"\n -d { }" }, { "lang": "cURL", @@ -3067,7 +3067,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3149,7 +3149,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true\"" }, { "lang": "cURL", @@ -3221,7 +3221,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true\"" }, { "lang": "cURL", @@ -3305,7 +3305,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}\"\n -d { }" }, { "lang": "cURL", @@ -3386,7 +3386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true\"" }, { "lang": "cURL", @@ -3456,7 +3456,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -3522,7 +3522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -3598,7 +3598,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -3688,7 +3688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3769,7 +3769,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -3826,7 +3826,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true\"" }, { "lang": "cURL", @@ -3895,7 +3895,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog\"\n -d { }" }, { "lang": "cURL", @@ -3952,7 +3952,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true\"" }, { "lang": "cURL", @@ -4018,7 +4018,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS\"\n -d { }" }, { "lang": "cURL", @@ -4084,7 +4084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true\"" }, { "lang": "cURL", @@ -4211,7 +4211,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets\"\n -d { }" }, { "lang": "cURL", @@ -4284,7 +4284,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}\"" }, { "lang": "cURL", @@ -4386,7 +4386,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true\"" }, { "lang": "cURL", @@ -4446,7 +4446,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true\"" }, { "lang": "cURL", @@ -4528,7 +4528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy\"\n -d { }" }, { "lang": "cURL", @@ -4585,7 +4585,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true\"" }, { "lang": "cURL", @@ -4655,7 +4655,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess\"\n -d { }" }, { "lang": "cURL", @@ -4736,7 +4736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}\"" }, { "lang": "cURL", @@ -4805,7 +4805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true\"" }, { "lang": "cURL", @@ -4893,7 +4893,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}\"\n -d { }" }, { "lang": "cURL", @@ -4968,7 +4968,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true\"" }, { "lang": "cURL", @@ -5053,7 +5053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters\"\n -d { }" }, { "lang": "cURL", @@ -5138,7 +5138,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true\"" }, { "lang": "cURL", @@ -5218,7 +5218,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade\"\n -d { }" }, { "lang": "cURL", @@ -5298,7 +5298,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless\"\n -d { }" }, { "lang": "cURL", @@ -5381,7 +5381,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"" }, { "lang": "cURL", @@ -5454,7 +5454,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -5542,7 +5542,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}\"\n -d { }" }, { "lang": "cURL", @@ -5620,7 +5620,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true\"" }, { "lang": "cURL", @@ -5704,7 +5704,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports\"\n -d { }" }, { "lang": "cURL", @@ -5779,7 +5779,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true\"" }, { "lang": "cURL", @@ -5857,7 +5857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -5944,7 +5944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -6028,7 +6028,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}\"" }, { "lang": "cURL", @@ -6107,7 +6107,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -6176,7 +6176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"" }, { "lang": "cURL", @@ -6243,7 +6243,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true\"" }, { "lang": "cURL", @@ -6324,7 +6324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule\"\n -d { }" }, { "lang": "cURL", @@ -6405,7 +6405,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -6486,7 +6486,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots\"\n -d { }" }, { "lang": "cURL", @@ -6567,7 +6567,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}\"" }, { "lang": "cURL", @@ -6649,7 +6649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6721,7 +6721,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true\"" }, { "lang": "cURL", @@ -6805,7 +6805,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -6887,7 +6887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -6980,7 +6980,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -7072,7 +7072,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download\"\n -d { }" }, { "lang": "cURL", @@ -7161,7 +7161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore\"\n -d { }" }, { "lang": "cURL", @@ -7233,7 +7233,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true\"" }, { "lang": "cURL", @@ -7317,7 +7317,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true\"" }, { "lang": "cURL", @@ -7389,7 +7389,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -7473,7 +7473,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -7552,7 +7552,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true\"" }, { "lang": "cURL", @@ -7640,7 +7640,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true\"" }, { "lang": "cURL", @@ -7712,7 +7712,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true\"" }, { "lang": "cURL", @@ -7804,7 +7804,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7896,7 +7896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned\"\n -d { }" }, { "lang": "cURL", @@ -7979,7 +7979,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin\"\n -d { }" }, { "lang": "cURL", @@ -8070,7 +8070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes\"\n -d { }" }, { "lang": "cURL", @@ -8166,7 +8166,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -8256,7 +8256,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"" }, { "lang": "cURL", @@ -8341,7 +8341,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -8443,7 +8443,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -8517,7 +8517,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true\"" }, { "lang": "cURL", @@ -8590,7 +8590,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"" }, { "lang": "cURL", @@ -8676,7 +8676,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping\"\n -d { }" }, { "lang": "cURL", @@ -8768,7 +8768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"" }, { "lang": "cURL", @@ -8857,7 +8857,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces\"\n -d { }" }, { "lang": "cURL", @@ -9032,7 +9032,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index\"\n -d { }" }, { "lang": "cURL", @@ -9114,7 +9114,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true\"" }, { "lang": "cURL", @@ -9205,7 +9205,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives\"\n -d { }" }, { "lang": "cURL", @@ -9314,7 +9314,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -9402,7 +9402,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"" }, { "lang": "cURL", @@ -9491,7 +9491,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true\"" }, { "lang": "cURL", @@ -9594,7 +9594,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}\"\n -d { }" }, { "lang": "cURL", @@ -9673,7 +9673,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"" }, { "lang": "cURL", @@ -9750,7 +9750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true\"" }, { "lang": "cURL", @@ -9835,7 +9835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation\"\n -d { }" }, { "lang": "cURL", @@ -9911,7 +9911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true\"" }, { "lang": "cURL", @@ -10000,7 +10000,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs\"\n -d { }" }, { "lang": "cURL", @@ -10066,7 +10066,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries\"\n -d { }" }, { "lang": "cURL", @@ -10159,7 +10159,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -10241,7 +10241,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -10326,7 +10326,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true\"" }, { "lang": "cURL", @@ -10401,7 +10401,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"" }, { "lang": "cURL", @@ -10471,7 +10471,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true\"" }, { "lang": "cURL", @@ -10555,7 +10555,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10639,7 +10639,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment\"\n -d { }" }, { "lang": "cURL", @@ -10728,7 +10728,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true\"" }, { "lang": "cURL", @@ -10816,7 +10816,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes\"\n -d { }" }, { "lang": "cURL", @@ -10923,7 +10923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true\"" }, { "lang": "cURL", @@ -11026,7 +11026,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"" }, { "lang": "cURL", @@ -11127,7 +11127,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true\"" }, { "lang": "cURL", @@ -11242,7 +11242,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}\"\n -d { }" }, { "lang": "cURL", @@ -11330,7 +11330,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"" }, { "lang": "cURL", @@ -11426,7 +11426,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true\"" }, { "lang": "cURL", @@ -11526,7 +11526,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}\"\n -d { }" }, { "lang": "cURL", @@ -11596,7 +11596,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true\"" }, { "lang": "cURL", @@ -11675,7 +11675,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule\"\n -d { }" }, { "lang": "cURL", @@ -11768,7 +11768,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -11853,7 +11853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"" }, { "lang": "cURL", @@ -11933,7 +11933,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -12024,7 +12024,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}\"\n -d { }" }, { "lang": "cURL", @@ -12093,7 +12093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true\"" }, { "lang": "cURL", @@ -12182,7 +12182,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -12324,7 +12324,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -12413,7 +12413,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12494,7 +12494,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion\"\n -d { }" }, { "lang": "cURL", @@ -12611,7 +12611,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true\"" }, { "lang": "cURL", @@ -12671,7 +12671,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true\"" }, { "lang": "cURL", @@ -12755,7 +12755,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true\"" }, { "lang": "cURL", @@ -12833,7 +12833,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers\"\n -d { }" }, { "lang": "cURL", @@ -12899,7 +12899,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true\"" }, { "lang": "cURL", @@ -12978,7 +12978,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"" }, { "lang": "cURL", @@ -13046,7 +13046,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true\"" }, { "lang": "cURL", @@ -13137,7 +13137,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}\"\n -d { }" }, { "lang": "cURL", @@ -13197,7 +13197,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true\"" }, { "lang": "cURL", @@ -13275,7 +13275,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles\"\n -d { }" }, { "lang": "cURL", @@ -13347,7 +13347,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"" }, { "lang": "cURL", @@ -13414,7 +13414,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true\"" }, { "lang": "cURL", @@ -13501,7 +13501,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}\"\n -d { }" }, { "lang": "cURL", @@ -13574,7 +13574,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true\"" }, { "lang": "cURL", @@ -13649,7 +13649,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation\"\n -d { }" }, { "lang": "cURL", @@ -13715,7 +13715,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"" }, { "lang": "cURL", @@ -13782,7 +13782,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -13869,7 +13869,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -13941,7 +13941,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true\"" }, { "lang": "cURL", @@ -14019,7 +14019,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"" }, { "lang": "cURL", @@ -14098,7 +14098,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -14191,7 +14191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -14287,7 +14287,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true\"" }, { "lang": "cURL", @@ -14353,7 +14353,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true\"" }, { "lang": "cURL", @@ -14583,7 +14583,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers\"\n -d { }" }, { "lang": "cURL", @@ -14665,7 +14665,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"" }, { "lang": "cURL", @@ -14742,7 +14742,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true\"" }, { "lang": "cURL", @@ -14839,7 +14839,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}\"\n -d { }" }, { "lang": "cURL", @@ -14917,7 +14917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true\"" }, { "lang": "cURL", @@ -15009,7 +15009,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs\"\n -d { }" }, { "lang": "cURL", @@ -15132,7 +15132,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"" }, { "lang": "cURL", @@ -15252,7 +15252,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true\"" }, { "lang": "cURL", @@ -15309,7 +15309,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true\"" }, { "lang": "cURL", @@ -15384,7 +15384,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest\"\n -d { }" }, { "lang": "cURL", @@ -15453,7 +15453,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true\"" }, { "lang": "cURL", @@ -15531,7 +15531,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints\"\n -d { }" }, { "lang": "cURL", @@ -15623,7 +15623,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}\"" }, { "lang": "cURL", @@ -15702,7 +15702,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -15835,7 +15835,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true\"" }, { "lang": "cURL", @@ -15916,7 +15916,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -15976,7 +15976,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true\"" }, { "lang": "cURL", @@ -16082,7 +16082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16191,7 +16191,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16292,7 +16292,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true\"" }, { "lang": "cURL", @@ -16364,7 +16364,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true\"" }, { "lang": "cURL", @@ -16449,7 +16449,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"" }, { "lang": "cURL", @@ -16532,7 +16532,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true\"" }, { "lang": "cURL", @@ -16638,7 +16638,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16741,7 +16741,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}\"\n -d { }" }, { "lang": "cURL", @@ -16811,7 +16811,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -16885,7 +16885,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -16953,7 +16953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -17021,7 +17021,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -17093,7 +17093,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -17176,7 +17176,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -17237,7 +17237,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true\"" }, { "lang": "cURL", @@ -17306,7 +17306,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true\"" }, { "lang": "cURL", @@ -17393,7 +17393,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"" }, { "lang": "cURL", @@ -17481,7 +17481,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true\"" }, { "lang": "cURL", @@ -17580,7 +17580,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}\"\n -d { }" }, { "lang": "cURL", @@ -17658,7 +17658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations\"\n -d { }" }, { "lang": "cURL", @@ -17736,7 +17736,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate\"\n -d { }" }, { "lang": "cURL", @@ -17812,7 +17812,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true\"" }, { "lang": "cURL", @@ -17878,7 +17878,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true\"" }, { "lang": "cURL", @@ -17944,7 +17944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover\"\n -d { }" }, { "lang": "cURL", @@ -17998,7 +17998,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"" }, { "lang": "cURL", @@ -18053,7 +18053,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true\"" }, { "lang": "cURL", @@ -18119,7 +18119,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow\"\n -d { }" }, { "lang": "cURL", @@ -18173,7 +18173,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer\"\n -d { }" }, { "lang": "cURL", @@ -18227,7 +18227,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer\"\n -d { }" }, { "lang": "cURL", @@ -18284,7 +18284,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true\"" }, { "lang": "cURL", @@ -18341,7 +18341,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable\"" }, { "lang": "cURL", @@ -18398,7 +18398,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable\"\n -d { }" }, { "lang": "cURL", @@ -18516,7 +18516,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true\"" }, { "lang": "cURL", @@ -18599,7 +18599,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true\"" }, { "lang": "cURL", @@ -18678,7 +18678,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers\"\n -d { }" }, { "lang": "cURL", @@ -18750,7 +18750,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"" }, { "lang": "cURL", @@ -18820,7 +18820,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true\"" }, { "lang": "cURL", @@ -18907,7 +18907,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}\"\n -d { }" }, { "lang": "cURL", @@ -18967,7 +18967,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true\"" }, { "lang": "cURL", @@ -19036,7 +19036,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines\"\n -d { }" }, { "lang": "cURL", @@ -19105,7 +19105,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"" }, { "lang": "cURL", @@ -19175,7 +19175,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true\"" }, { "lang": "cURL", @@ -19259,7 +19259,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}\"\n -d { }" }, { "lang": "cURL", @@ -19334,7 +19334,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true\"" }, { "lang": "cURL", @@ -19425,7 +19425,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true\"" }, { "lang": "cURL", @@ -19497,7 +19497,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause\"\n -d { }" }, { "lang": "cURL", @@ -19569,7 +19569,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume\"\n -d { }" }, { "lang": "cURL", @@ -19660,7 +19660,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true\"" }, { "lang": "cURL", @@ -19745,7 +19745,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}\"" }, { "lang": "cURL", @@ -19828,7 +19828,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true\"" }, { "lang": "cURL", @@ -19911,7 +19911,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger\"\n -d { }" }, { "lang": "cURL", @@ -19983,7 +19983,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService\"\n -d { }" }, { "lang": "cURL", @@ -20043,7 +20043,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true\"" }, { "lang": "cURL", @@ -20112,7 +20112,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode\"\n -d { }" }, { "lang": "cURL", @@ -20183,7 +20183,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true\"" }, { "lang": "cURL", @@ -20264,7 +20264,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20344,7 +20344,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -20422,7 +20422,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -20511,7 +20511,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}\"\n -d { }" }, { "lang": "cURL", @@ -20586,7 +20586,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true\"" }, { "lang": "cURL", @@ -20670,7 +20670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}\"" }, { "lang": "cURL", @@ -20755,7 +20755,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true\"" }, { "lang": "cURL", @@ -20859,7 +20859,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint\"\n -d { }" }, { "lang": "cURL", @@ -20953,7 +20953,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}\"" }, { "lang": "cURL", @@ -21048,7 +21048,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21110,7 +21110,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true\"" }, { "lang": "cURL", @@ -21184,7 +21184,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode\"\n -d { }" }, { "lang": "cURL", @@ -21256,7 +21256,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true\"" }, { "lang": "cURL", @@ -21325,7 +21325,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds\"\n -d { }" }, { "lang": "cURL", @@ -21397,7 +21397,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}\"" }, { "lang": "cURL", @@ -21470,7 +21470,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true\"" }, { "lang": "cURL", @@ -21536,7 +21536,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true\"" }, { "lang": "cURL", @@ -21604,7 +21604,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true\"" }, { "lang": "cURL", @@ -21670,7 +21670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -21747,7 +21747,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true\"" }, { "lang": "cURL", @@ -21824,7 +21824,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true\"" }, { "lang": "cURL", @@ -21940,7 +21940,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22017,7 +22017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true\"" }, { "lang": "cURL", @@ -22091,7 +22091,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true\"" }, { "lang": "cURL", @@ -22216,7 +22216,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22448,7 +22448,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22534,7 +22534,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true\"" }, { "lang": "cURL", @@ -22644,7 +22644,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true\"" }, { "lang": "cURL", @@ -22770,7 +22770,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true\"" }, { "lang": "cURL", @@ -22887,7 +22887,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true\"" }, { "lang": "cURL", @@ -22950,7 +22950,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"" }, { "lang": "cURL", @@ -23011,7 +23011,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true\"" }, { "lang": "cURL", @@ -23084,7 +23084,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23157,7 +23157,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport\"\n -d { }" }, { "lang": "cURL", @@ -23229,7 +23229,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}\"\n -d { }" }, { "lang": "cURL", @@ -23295,7 +23295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true\"" }, { "lang": "cURL", @@ -23361,7 +23361,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true\"" }, { "lang": "cURL", @@ -23433,7 +23433,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless\"\n -d { }" }, { "lang": "cURL", @@ -23514,7 +23514,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true\"" }, { "lang": "cURL", @@ -23601,7 +23601,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs\"\n -d { }" }, { "lang": "cURL", @@ -23685,7 +23685,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true\"" }, { "lang": "cURL", @@ -23766,7 +23766,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true\"" }, { "lang": "cURL", @@ -23848,7 +23848,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true\"" }, { "lang": "cURL", @@ -23917,7 +23917,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true\"" }, { "lang": "cURL", @@ -23990,7 +23990,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing\"\n -d { }" }, { "lang": "cURL", @@ -24065,7 +24065,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"" }, { "lang": "cURL", @@ -24138,7 +24138,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true\"" }, { "lang": "cURL", @@ -24219,7 +24219,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}\"\n -d { }" }, { "lang": "cURL", @@ -24285,7 +24285,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -24355,7 +24355,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -24425,7 +24425,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -24492,7 +24492,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -24573,7 +24573,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24656,7 +24656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -24719,7 +24719,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -24791,7 +24791,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -24854,7 +24854,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true\"" }, { "lang": "cURL", @@ -24923,7 +24923,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams\"\n -d { }" }, { "lang": "cURL", @@ -24995,7 +24995,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"" }, { "lang": "cURL", @@ -25070,7 +25070,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true\"" }, { "lang": "cURL", @@ -25154,7 +25154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}\"\n -d { }" }, { "lang": "cURL", @@ -25253,7 +25253,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true\"" }, { "lang": "cURL", @@ -25328,7 +25328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true\"" }, { "lang": "cURL", @@ -25409,7 +25409,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections\"\n -d { }" }, { "lang": "cURL", @@ -25490,7 +25490,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"" }, { "lang": "cURL", @@ -25563,7 +25563,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true\"" }, { "lang": "cURL", @@ -25656,7 +25656,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}\"\n -d { }" }, { "lang": "cURL", @@ -25739,7 +25739,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor\"\n -d { }" }, { "lang": "cURL", @@ -25817,7 +25817,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}\"" }, { "lang": "cURL", @@ -25896,7 +25896,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true\"" }, { "lang": "cURL", @@ -25977,7 +25977,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start\"\n -d { }" }, { "lang": "cURL", @@ -26058,7 +26058,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop\"\n -d { }" }, { "lang": "cURL", @@ -26139,7 +26139,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true\"" }, { "lang": "cURL", @@ -26214,7 +26214,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -26296,7 +26296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -26372,7 +26372,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -26463,7 +26463,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -26520,7 +26520,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true\"" }, { "lang": "cURL", @@ -26589,7 +26589,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity\"\n -d { }" }, { "lang": "cURL", @@ -26643,7 +26643,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509\"" }, { "lang": "cURL", @@ -26700,7 +26700,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping\"" }, { "lang": "cURL", @@ -26771,7 +26771,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify\"\n -d { }" }, { "lang": "cURL", @@ -26840,7 +26840,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true\"" }, { "lang": "cURL", @@ -26924,7 +26924,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true\"" }, { "lang": "cURL", @@ -26996,7 +26996,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}\"" }, { "lang": "cURL", @@ -27082,7 +27082,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -27148,7 +27148,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/uss?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss?pretty=true\"" }, { "lang": "cURL", @@ -27220,7 +27220,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}/uss\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss\"\n -d { }" }, { "lang": "cURL", @@ -27295,7 +27295,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/groups/{groupId}/uss/{name}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}\"" }, { "lang": "cURL", @@ -27371,7 +27371,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true\"" }, { "lang": "cURL", @@ -27452,7 +27452,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/groups/{groupId}/uss/{name}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}\"\n -d { }" }, { "lang": "cURL", @@ -27517,7 +27517,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate\"\n -d { }" }, { "lang": "cURL", @@ -27597,7 +27597,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true\"" }, { "lang": "cURL", @@ -27672,7 +27672,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs\"\n -d { }" }, { "lang": "cURL", @@ -27738,7 +27738,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"" }, { "lang": "cURL", @@ -27802,7 +27802,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true\"" }, { "lang": "cURL", @@ -27877,7 +27877,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}\"\n -d { }" }, { "lang": "cURL", @@ -27947,7 +27947,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true\"" }, { "lang": "cURL", @@ -28017,7 +28017,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys\"\n -d { }" }, { "lang": "cURL", @@ -28090,7 +28090,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"" }, { "lang": "cURL", @@ -28161,7 +28161,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true\"" }, { "lang": "cURL", @@ -28246,7 +28246,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}\"\n -d { }" }, { "lang": "cURL", @@ -28328,7 +28328,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true\"" }, { "lang": "cURL", @@ -28424,7 +28424,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList\"\n -d { }" }, { "lang": "cURL", @@ -28514,7 +28514,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}\"" }, { "lang": "cURL", @@ -28599,7 +28599,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true\"" }, { "lang": "cURL", @@ -28667,7 +28667,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage\"\n -d { }" }, { "lang": "cURL", @@ -28748,7 +28748,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true\"" }, { "lang": "cURL", @@ -28853,7 +28853,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true\"" }, { "lang": "cURL", @@ -28934,7 +28934,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true\"" }, { "lang": "cURL", @@ -28997,7 +28997,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true\"" }, { "lang": "cURL", @@ -29077,7 +29077,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -29152,7 +29152,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true\"" }, { "lang": "cURL", @@ -29224,7 +29224,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29296,7 +29296,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites\"\n -d { }" }, { "lang": "cURL", @@ -29368,7 +29368,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"" }, { "lang": "cURL", @@ -29438,7 +29438,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true\"" }, { "lang": "cURL", @@ -29522,7 +29522,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}\"\n -d { }" }, { "lang": "cURL", @@ -29670,7 +29670,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true\"" }, { "lang": "cURL", @@ -29730,7 +29730,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true\"" }, { "lang": "cURL", @@ -29808,7 +29808,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true\"" }, { "lang": "cURL", @@ -29879,7 +29879,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true\"" }, { "lang": "cURL", @@ -29965,7 +29965,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true\"" }, { "lang": "cURL", @@ -30028,7 +30028,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true\"" }, { "lang": "cURL", @@ -30085,7 +30085,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"" }, { "lang": "cURL", @@ -30154,7 +30154,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens\"\n -d { }" }, { "lang": "cURL", @@ -30220,7 +30220,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true\"" }, { "lang": "cURL", @@ -30289,7 +30289,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts\"\n -d { }" }, { "lang": "cURL", @@ -30355,7 +30355,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"" }, { "lang": "cURL", @@ -30422,7 +30422,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true\"" }, { "lang": "cURL", @@ -30503,7 +30503,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}\"\n -d { }" }, { "lang": "cURL", @@ -30578,7 +30578,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true\"" }, { "lang": "cURL", @@ -30658,7 +30658,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets\"\n -d { }" }, { "lang": "cURL", @@ -30733,7 +30733,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}\"" }, { "lang": "cURL", @@ -30796,7 +30796,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true\"" }, { "lang": "cURL", @@ -30868,7 +30868,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings\"\n -d { }" }, { "lang": "cURL", @@ -30944,7 +30944,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true\"" }, { "lang": "cURL", @@ -31023,7 +31023,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams\"\n -d { }" }, { "lang": "cURL", @@ -31099,7 +31099,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true\"" }, { "lang": "cURL", @@ -31178,7 +31178,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"" }, { "lang": "cURL", @@ -31255,7 +31255,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true\"" }, { "lang": "cURL", @@ -31346,7 +31346,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PATCH \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}\"\n -d { }" }, { "lang": "cURL", @@ -31434,7 +31434,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31528,7 +31528,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users\"\n -d { }" }, { "lang": "cURL", @@ -31616,7 +31616,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}\"" }, { "lang": "cURL", @@ -31688,7 +31688,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true\"" }, { "lang": "cURL", @@ -31763,7 +31763,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"/api/atlas/v2/orgs/{orgId}/users/{userId}\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X DELETE \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}\"" }, { "lang": "cURL", @@ -31849,7 +31849,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X PUT \"https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles\"\n -d { }" }, { "lang": "cURL", @@ -31892,7 +31892,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true\"" }, { "lang": "cURL", @@ -31960,7 +31960,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"/api/atlas/v2/users\"\n -d { }" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n --header \"Content-Type: application/vnd.atlas.2025-01-01+json\" \\\n -X POST \"https://cloud.mongodb.com/api/atlas/v2/users\"\n -d { }" }, { "lang": "cURL", @@ -32027,7 +32027,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/byName/{userName}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true\"" }, { "lang": "cURL", @@ -32096,7 +32096,7 @@ { "lang": "cURL", "label": "curl", - "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"/api/atlas/v2/users/{userId}?pretty=true\"" + "source": "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true\"" }, { "lang": "cURL", diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml index 133294c253..f92e28798d 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml @@ -30562,7 +30562,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSystemStatus --help @@ -30599,7 +30599,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/alertConfigs/matchers/fieldNames?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationMatchersFieldNames --help @@ -30637,7 +30637,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClustersForAllProjects --help @@ -30675,7 +30675,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/eventTypes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/eventTypes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listEventTypes --help @@ -30711,7 +30711,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}" - label: Atlas CLI lang: cURL source: atlas api deleteFederationApp --help @@ -30752,7 +30752,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listConnectedOrgConfigs --help @@ -30801,7 +30801,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api removeConnectedOrgConfig --help @@ -30849,7 +30849,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getConnectedOrgConfig --help @@ -30905,7 +30905,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -30946,7 +30946,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listRoleMappings --help @@ -30993,7 +30993,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings" -d { } - label: Atlas CLI lang: cURL @@ -31042,7 +31042,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" - label: Atlas CLI lang: cURL source: atlas api deleteRoleMapping --help @@ -31091,7 +31091,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRoleMapping --help @@ -31148,7 +31148,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}" -d { } - label: Atlas CLI lang: cURL @@ -31212,7 +31212,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIdentityProviders --help @@ -31263,7 +31263,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" + -X POST "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders" -d { } - label: Atlas CLI lang: cURL @@ -31308,7 +31308,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" - label: Atlas CLI lang: cURL source: atlas api deleteIdentityProvider --help @@ -31355,7 +31355,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProvider --help @@ -31411,7 +31411,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}" -d { } - label: Atlas CLI lang: cURL @@ -31456,7 +31456,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/jwks" - label: Atlas CLI lang: cURL source: atlas api revokeJwksFromIdentityProvider --help @@ -31495,7 +31495,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIdentityProviderMetadata --help @@ -31535,7 +31535,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjects --help @@ -31593,7 +31593,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups" -d { } - label: Atlas CLI lang: cURL @@ -31632,7 +31632,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" - label: Atlas CLI lang: cURL source: atlas api deleteProject --help @@ -31669,7 +31669,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProject --help @@ -31718,7 +31718,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}" -d { } - label: Atlas CLI lang: cURL @@ -31768,7 +31768,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/access" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" -d { } - label: Atlas CLI lang: cURL @@ -31811,7 +31811,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectIpAccessLists --help @@ -31866,7 +31866,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -31921,7 +31921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectIpAccessList --help @@ -31971,7 +31971,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpList --help @@ -32021,7 +32021,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/accessList/{entryValue}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectIpAccessListStatus --help @@ -32063,7 +32063,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurations --help @@ -32111,7 +32111,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/alertConfigs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs" -d { } - label: Atlas CLI lang: cURL @@ -32161,7 +32161,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" - label: Atlas CLI lang: cURL source: atlas api deleteAlertConfiguration --help @@ -32211,7 +32211,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlertConfiguration --help @@ -32271,7 +32271,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -32334,7 +32334,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}" -d { } - label: Atlas CLI lang: cURL @@ -32389,7 +32389,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alertConfigs/{alertConfigId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertsByAlertConfigurationId --help @@ -32442,7 +32442,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlerts --help @@ -32492,7 +32492,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAlert --help @@ -32551,7 +32551,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/alerts/{alertId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}" -d { } - label: Atlas CLI lang: cURL @@ -32605,7 +32605,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId}/alertConfigs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAlertConfigurationsByAlertId --help @@ -32647,7 +32647,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectApiKeys --help @@ -32690,7 +32690,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -32741,7 +32741,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectApiKey --help @@ -32798,7 +32798,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32853,7 +32853,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -32890,7 +32890,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAuditingConfiguration --help @@ -32935,7 +32935,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/auditLog" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/auditLog" -d { } - label: Atlas CLI lang: cURL @@ -32972,7 +32972,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAWSCustomDNS --help @@ -33015,7 +33015,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/awsCustomDNS" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/awsCustomDNS" -d { } - label: Atlas CLI lang: cURL @@ -33055,7 +33055,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listExportBuckets --help @@ -33141,7 +33141,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/backup/exportBuckets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets" -d { } - label: Atlas CLI lang: cURL @@ -33191,7 +33191,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}" - label: Atlas CLI lang: cURL source: atlas api deleteExportBucket --help @@ -33260,7 +33260,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backup/exportBuckets/{exportBucketId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getExportBucket --help @@ -33298,7 +33298,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataProtectionSettings --help @@ -33352,7 +33352,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/backupCompliancePolicy" -d { } - label: Atlas CLI lang: cURL @@ -33389,7 +33389,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderAccessRoles --help @@ -33435,7 +33435,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/cloudProviderAccess" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess" -d { } - label: Atlas CLI lang: cURL @@ -33489,7 +33489,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}" - label: Atlas CLI lang: cURL source: atlas api deauthorizeCloudProviderAccessRole --help @@ -33534,7 +33534,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCloudProviderAccessRole --help @@ -33593,7 +33593,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess/{roleId}" -d { } - label: Atlas CLI lang: cURL @@ -33639,7 +33639,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listClusters --help @@ -33818,7 +33818,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters" -d { } - label: Atlas CLI lang: cURL @@ -33873,7 +33873,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" - label: Atlas CLI lang: cURL source: atlas api deleteCluster --help @@ -33921,7 +33921,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCluster --help @@ -33980,7 +33980,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" -d { } - label: Atlas CLI lang: cURL @@ -34080,7 +34080,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help @@ -34137,7 +34137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForCluster --help @@ -34185,7 +34185,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupExportJobs --help @@ -34242,7 +34242,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports" -d { } - label: Atlas CLI lang: cURL @@ -34293,7 +34293,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupExportJob --help @@ -34341,7 +34341,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listBackupRestoreJobs --help @@ -34402,7 +34402,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -34459,7 +34459,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}" - label: Atlas CLI lang: cURL source: atlas api cancelBackupRestoreJob --help @@ -34512,7 +34512,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupRestoreJob --help @@ -34558,7 +34558,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" - label: Atlas CLI lang: cURL source: atlas api deleteAllBackupSchedules --help @@ -34602,7 +34602,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getBackupSchedule --help @@ -34659,7 +34659,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/schedule" -d { } - label: Atlas CLI lang: cURL @@ -34710,7 +34710,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listReplicaSetBackups --help @@ -34767,7 +34767,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots" -d { } - label: Atlas CLI lang: cURL @@ -34824,7 +34824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteReplicaSetBackup --help @@ -34879,7 +34879,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getReplicaSetBackup --help @@ -34942,7 +34942,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -34997,7 +34997,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteShardedClusterBackup --help @@ -35052,7 +35052,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getShardedClusterBackup --help @@ -35099,7 +35099,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listShardedClusterBackups --help @@ -35160,7 +35160,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/download" -d { } - label: Atlas CLI lang: cURL @@ -35220,7 +35220,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restore" -d { } - label: Atlas CLI lang: cURL @@ -35268,7 +35268,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackupRestoreJobs --help @@ -35324,7 +35324,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/restores/{restoreId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackupRestoreJob --help @@ -35371,7 +35371,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSharedClusterBackups --help @@ -35427,7 +35427,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/tenant/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSharedClusterBackup --help @@ -35476,7 +35476,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupCheckpoints --help @@ -35535,7 +35535,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupCheckpoint --help @@ -35583,7 +35583,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPinnedNamespaces --help @@ -35645,7 +35645,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -35708,7 +35708,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned" -d { } - label: Atlas CLI lang: cURL @@ -35765,7 +35765,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/unpin" -d { } - label: Atlas CLI lang: cURL @@ -35827,7 +35827,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes" -d { } - label: Atlas CLI lang: cURL @@ -35892,7 +35892,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesDeprecated --help @@ -35953,7 +35953,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexDeprecated --help @@ -36011,7 +36011,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexDeprecated --help @@ -36081,7 +36081,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -36131,7 +36131,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedNamespace --help @@ -36179,7 +36179,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" - label: Atlas CLI lang: cURL source: atlas api deleteAllCustomZoneMappings --help @@ -36237,7 +36237,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping" -d { } - label: Atlas CLI lang: cURL @@ -36298,7 +36298,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" - label: Atlas CLI lang: cURL source: atlas api deleteManagedNamespace --help @@ -36358,7 +36358,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces" -d { } - label: Atlas CLI lang: cURL @@ -36480,7 +36480,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/index" -d { } - label: Atlas CLI lang: cURL @@ -36532,7 +36532,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOnlineArchives --help @@ -36593,7 +36593,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives" -d { } - label: Atlas CLI lang: cURL @@ -36653,7 +36653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" - label: Atlas CLI lang: cURL source: atlas api deleteOnlineArchive --help @@ -36713,7 +36713,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOnlineArchive --help @@ -36783,7 +36783,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}" -d { } - label: Atlas CLI lang: cURL @@ -36859,7 +36859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadOnlineArchiveQueryLogs --help @@ -36911,7 +36911,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" - label: Atlas CLI lang: cURL source: atlas api endOutageSimulation --help @@ -36962,7 +36962,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOutageSimulation --help @@ -37019,7 +37019,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/outageSimulation" -d { } - label: Atlas CLI lang: cURL @@ -37070,7 +37070,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterAdvancedConfiguration --help @@ -37130,7 +37130,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/processArgs" -d { } - label: Atlas CLI lang: cURL @@ -37175,7 +37175,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries" -d { } - label: Atlas CLI lang: cURL @@ -37238,7 +37238,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacyBackupRestoreJobs --help @@ -37293,7 +37293,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -37354,7 +37354,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacyBackupRestoreJob --help @@ -37403,7 +37403,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchDeployment --help @@ -37449,7 +37449,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchDeployment --help @@ -37505,7 +37505,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -37562,7 +37562,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/deployment" -d { } - label: Atlas CLI lang: cURL @@ -37621,7 +37621,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexesCluster --help @@ -37680,7 +37680,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes" -d { } - label: Atlas CLI lang: cURL @@ -37751,7 +37751,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasSearchIndexes --help @@ -37819,7 +37819,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndexByName --help @@ -37886,7 +37886,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndexByName --help @@ -37963,7 +37963,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{databaseName}/{collectionName}/{indexName}" -d { } - label: Atlas CLI lang: cURL @@ -38023,7 +38023,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" - label: Atlas CLI lang: cURL source: atlas api deleteAtlasSearchIndex --help @@ -38087,7 +38087,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasSearchIndex --help @@ -38155,7 +38155,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/search/indexes/{indexId}" -d { } - label: Atlas CLI lang: cURL @@ -38205,7 +38205,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshotSchedule --help @@ -38261,7 +38261,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshotSchedule" -d { } - label: Atlas CLI lang: cURL @@ -38321,7 +38321,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listLegacySnapshots --help @@ -38378,7 +38378,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" - label: Atlas CLI lang: cURL source: atlas api deleteLegacySnapshot --help @@ -38432,7 +38432,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLegacySnapshot --help @@ -38494,7 +38494,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}" -d { } - label: Atlas CLI lang: cURL @@ -38540,7 +38540,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/status?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getClusterStatus --help @@ -38599,7 +38599,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:pinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -38654,7 +38654,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{clusterName}:unpinFeatureCompatibilityVersion" -d { } - label: Atlas CLI lang: cURL @@ -38735,7 +38735,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostLogs --help @@ -38786,7 +38786,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/provider/regions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCloudProviderRegions --help @@ -38838,7 +38838,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgrade" -d { } - label: Atlas CLI lang: cURL @@ -38891,7 +38891,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/clusters/tenantUpgradeToServerless" -d { } - label: Atlas CLI lang: cURL @@ -38931,7 +38931,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/collStats/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceMetrics --help @@ -38983,7 +38983,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainerByCloudProvider --help @@ -39034,7 +39034,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/containers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers" -d { } - label: Atlas CLI lang: cURL @@ -39087,7 +39087,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringContainer --help @@ -39132,7 +39132,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringContainer --help @@ -39193,7 +39193,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/containers/{containerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/{containerId}" -d { } - label: Atlas CLI lang: cURL @@ -39233,7 +39233,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/containers/all?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringContainers --help @@ -39271,7 +39271,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listCustomDatabaseRoles --help @@ -39322,7 +39322,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/customDBRoles/roles" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles" -d { } - label: Atlas CLI lang: cURL @@ -39369,7 +39369,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" - label: Atlas CLI lang: cURL source: atlas api deleteCustomDatabaseRole --help @@ -39412,7 +39412,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCustomDatabaseRole --help @@ -39469,7 +39469,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/customDBRoles/roles/{roleName}" -d { } - label: Atlas CLI lang: cURL @@ -39517,7 +39517,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listFederatedDatabases --help @@ -39566,7 +39566,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/dataFederation" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation" -d { } - label: Atlas CLI lang: cURL @@ -39609,7 +39609,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteFederatedDatabase --help @@ -39653,7 +39653,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederatedDatabase --help @@ -39710,7 +39710,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -39757,7 +39757,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimits --help @@ -39817,7 +39817,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteOneDataFederationInstanceQueryLimit --help @@ -39877,7 +39877,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnFederatedDatabaseQueryLimit --help @@ -39948,7 +39948,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -40015,7 +40015,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadFederatedDatabaseQueryLogs --help @@ -40054,7 +40054,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUsers --help @@ -40196,7 +40196,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers" -d { } - label: Atlas CLI lang: cURL @@ -40263,7 +40263,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" - label: Atlas CLI lang: cURL source: atlas api deleteDatabaseUser --help @@ -40326,7 +40326,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseUser --help @@ -40403,7 +40403,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username}" -d { } - label: Atlas CLI lang: cURL @@ -40451,7 +40451,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabaseUserCertificates --help @@ -40517,7 +40517,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/databaseUsers/{username}/certs" -d { } - label: Atlas CLI lang: cURL @@ -40600,7 +40600,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByClusterName --help @@ -40679,7 +40679,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAccessLogsByHostname --help @@ -40718,7 +40718,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRest --help @@ -40779,7 +40779,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/encryptionAtRest" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest" -d { } - label: Atlas CLI lang: cURL @@ -40824,7 +40824,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help @@ -40875,7 +40875,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints" -d { } - label: Atlas CLI lang: cURL @@ -40936,7 +40936,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help @@ -40988,7 +40988,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/encryptionAtRest/{cloudProvider}/privateEndpoints/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getEncryptionAtRestPrivateEndpoint --help @@ -41081,7 +41081,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectEvents --help @@ -41137,7 +41137,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectEvent --help @@ -41175,7 +41175,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listMetricTypes --help @@ -41243,7 +41243,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getIndexMetrics --help @@ -41310,7 +41310,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listIndexMetrics --help @@ -41376,7 +41376,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/hosts/{processId}/fts/metrics/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMeasurements --help @@ -41419,7 +41419,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listThirdPartyIntegrations --help @@ -41477,7 +41477,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" - label: Atlas CLI lang: cURL source: atlas api deleteThirdPartyIntegration --help @@ -41534,7 +41534,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getThirdPartyIntegration --help @@ -41604,7 +41604,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -41673,7 +41673,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" -d { } - label: Atlas CLI lang: cURL @@ -41719,7 +41719,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectInvitations --help @@ -41768,7 +41768,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41814,7 +41814,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -41861,7 +41861,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectInvitation --help @@ -41909,7 +41909,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectInvitation --help @@ -41966,7 +41966,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -42006,7 +42006,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/ipAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllIPAddresses --help @@ -42050,7 +42050,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectLimits --help @@ -42126,7 +42126,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectLimit --help @@ -42203,7 +42203,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLimit --help @@ -42291,7 +42291,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/limits/{limitName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/limits/{limitName}" -d { } - label: Atlas CLI lang: cURL @@ -42350,7 +42350,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations" -d { } - label: Atlas CLI lang: cURL @@ -42392,7 +42392,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushMigration --help @@ -42434,7 +42434,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover" -d { } - label: Atlas CLI lang: cURL @@ -42486,7 +42486,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/liveMigrations/validate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate" -d { } - label: Atlas CLI lang: cURL @@ -42538,7 +42538,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/liveMigrations/validate/{validationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getValidationStatus --help @@ -42573,7 +42573,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" - label: Atlas CLI lang: cURL source: atlas api resetMaintenanceWindow --help @@ -42608,7 +42608,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getMaintenanceWindow --help @@ -42652,7 +42652,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/maintenanceWindow" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow" -d { } - label: Atlas CLI lang: cURL @@ -42689,7 +42689,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/autoDefer" -d { } - label: Atlas CLI lang: cURL @@ -42726,7 +42726,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/maintenanceWindow/defer" -d { } - label: Atlas CLI lang: cURL @@ -42763,7 +42763,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getManagedSlowMs --help @@ -42799,7 +42799,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/disable" - label: Atlas CLI lang: cURL source: atlas api disableSlowOperationThresholding --help @@ -42836,7 +42836,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/managedSlowMs/enable" -d { } - label: Atlas CLI lang: cURL @@ -42914,7 +42914,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/mongoDBVersions?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectLTSVersions --help @@ -42965,7 +42965,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPeeringConnections --help @@ -43017,7 +43017,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/peers" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers" -d { } - label: Atlas CLI lang: cURL @@ -43065,7 +43065,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" - label: Atlas CLI lang: cURL source: atlas api deletePeeringConnection --help @@ -43111,7 +43111,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPeeringConnection --help @@ -43169,7 +43169,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/peers/{peerId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/peers/{peerId}" -d { } - label: Atlas CLI lang: cURL @@ -43209,7 +43209,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelines --help @@ -43255,7 +43255,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines" -d { } - label: Atlas CLI lang: cURL @@ -43302,7 +43302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" - label: Atlas CLI lang: cURL source: atlas api deletePipeline --help @@ -43348,7 +43348,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipeline --help @@ -43405,7 +43405,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}" -d { } - label: Atlas CLI lang: cURL @@ -43455,7 +43455,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSchedules?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSchedules --help @@ -43512,7 +43512,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineSnapshots --help @@ -43560,7 +43560,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/pause" -d { } - label: Atlas CLI lang: cURL @@ -43609,7 +43609,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/resume" -d { } - label: Atlas CLI lang: cURL @@ -43667,7 +43667,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPipelineRuns --help @@ -43724,7 +43724,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}" - label: Atlas CLI lang: cURL source: atlas api deletePipelineRunDataset --help @@ -43780,7 +43780,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPipelineRun --help @@ -43835,7 +43835,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pipelines/{pipelineName}/trigger" -d { } - label: Atlas CLI lang: cURL @@ -43885,7 +43885,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPrivateEndpointServices --help @@ -43941,7 +43941,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpointService --help @@ -43998,7 +43998,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpointService --help @@ -44068,7 +44068,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -44132,7 +44132,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deletePrivateEndpoint --help @@ -44196,7 +44196,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPrivateEndpoint --help @@ -44243,7 +44243,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/endpointService" -d { } - label: Atlas CLI lang: cURL @@ -44282,7 +44282,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getRegionalizedPrivateEndpointSetting --help @@ -44327,7 +44327,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/regionalMode" -d { } - label: Atlas CLI lang: cURL @@ -44375,7 +44375,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessPrivateEndpoints --help @@ -44433,7 +44433,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint" -d { } - label: Atlas CLI lang: cURL @@ -44488,7 +44488,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessPrivateEndpoint --help @@ -44541,7 +44541,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessPrivateEndpoint --help @@ -44602,7 +44602,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}" -d { } - label: Atlas CLI lang: cURL @@ -44643,7 +44643,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode?pretty=true" - label: Atlas CLI lang: cURL source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help @@ -44692,7 +44692,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/privateIpMode" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateIpMode" -d { } - label: Atlas CLI lang: cURL @@ -44736,7 +44736,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDataFederationPrivateEndpoints --help @@ -44800,7 +44800,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds" -d { } - label: Atlas CLI lang: cURL @@ -44848,7 +44848,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}" - label: Atlas CLI lang: cURL source: atlas api deleteDataFederationPrivateEndpoint --help @@ -44896,7 +44896,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDataFederationPrivateEndpoint --help @@ -44935,7 +44935,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listAtlasProcesses --help @@ -44979,7 +44979,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getAtlasProcess --help @@ -45058,7 +45058,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/{databaseName}/{collectionName}/collStats/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help @@ -45097,7 +45097,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/collStats/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getCollStatsLatencyNamespacesForHost --help @@ -45144,7 +45144,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDatabases --help @@ -45194,7 +45194,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabase --help @@ -45270,7 +45270,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDatabaseMeasurements --help @@ -45317,7 +45317,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskPartitions --help @@ -45366,7 +45366,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listDiskMeasurements --help @@ -45458,7 +45458,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getDiskMeasurements --help @@ -45661,7 +45661,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/measurements?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getHostMeasurements --help @@ -45725,7 +45725,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueryNamespaces --help @@ -45806,7 +45806,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSlowQueries --help @@ -45894,7 +45894,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSuggestedIndexes --help @@ -45934,7 +45934,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" - label: Atlas CLI lang: cURL source: atlas api deletePushBasedLogConfiguration --help @@ -45973,7 +45973,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getPushBasedLogConfiguration --help @@ -46021,7 +46021,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -46070,7 +46070,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/pushBasedLogExport" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/pushBasedLogExport" -d { } - label: Atlas CLI lang: cURL @@ -46120,7 +46120,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{name}" -d { } - label: Atlas CLI lang: cURL @@ -46165,7 +46165,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getSampleDatasetLoadStatus --help @@ -46204,7 +46204,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessInstances --help @@ -46251,7 +46251,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless" -d { } - label: Atlas CLI lang: cURL @@ -46302,7 +46302,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackupRestoreJobs --help @@ -46360,7 +46360,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs" -d { } - label: Atlas CLI lang: cURL @@ -46417,7 +46417,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackupRestoreJob --help @@ -46467,7 +46467,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServerlessBackups --help @@ -46523,7 +46523,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessBackup --help @@ -46568,7 +46568,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessAutoIndexing --help @@ -46618,7 +46618,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{clusterName}/performanceAdvisor/autoIndexing" -d { } - label: Atlas CLI lang: cURL @@ -46668,7 +46668,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteServerlessInstance --help @@ -46716,7 +46716,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServerlessInstance --help @@ -46770,7 +46770,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serverless/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serverless/{name}" -d { } - label: Atlas CLI lang: cURL @@ -46811,7 +46811,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectServiceAccounts --help @@ -46857,7 +46857,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -46903,7 +46903,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteProjectServiceAccount --help @@ -46946,7 +46946,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectServiceAccount --help @@ -46999,7 +46999,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -47055,7 +47055,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -47096,7 +47096,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectSettings --help @@ -47143,7 +47143,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -47182,7 +47182,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamInstances --help @@ -47227,7 +47227,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams" -d { } - label: Atlas CLI lang: cURL @@ -47274,7 +47274,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamInstance --help @@ -47323,7 +47323,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamInstance --help @@ -47378,7 +47378,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}" -d { } - label: Atlas CLI lang: cURL @@ -47446,7 +47446,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadStreamTenantAuditLogs --help @@ -47492,7 +47492,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamConnections --help @@ -47545,7 +47545,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections" -d { } - label: Atlas CLI lang: cURL @@ -47598,7 +47598,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamConnection --help @@ -47646,7 +47646,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamConnection --help @@ -47707,7 +47707,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" -d { } - label: Atlas CLI lang: cURL @@ -47762,7 +47762,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" -d { } - label: Atlas CLI lang: cURL @@ -47813,7 +47813,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" - label: Atlas CLI lang: cURL source: atlas api deleteStreamProcessor --help @@ -47864,7 +47864,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getStreamProcessor --help @@ -47917,7 +47917,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start" -d { } - label: Atlas CLI lang: cURL @@ -47971,7 +47971,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop" -d { } - label: Atlas CLI lang: cURL @@ -48021,7 +48021,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listStreamProcessors --help @@ -48066,7 +48066,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectTeams --help @@ -48120,7 +48120,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -48172,7 +48172,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectTeam --help @@ -48233,7 +48233,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -48270,7 +48270,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfiguration --help @@ -48318,7 +48318,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/userSecurity" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity" -d { } - label: Atlas CLI lang: cURL @@ -48357,7 +48357,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/customerX509" - label: Atlas CLI lang: cURL source: atlas api disableCustomerManagedX509 --help @@ -48393,7 +48393,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping" - label: Atlas CLI lang: cURL source: atlas api deleteLDAPConfiguration --help @@ -48439,7 +48439,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify" -d { } - label: Atlas CLI lang: cURL @@ -48485,7 +48485,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getLDAPConfigurationStatus --help @@ -48536,7 +48536,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listProjectUsers --help @@ -48583,7 +48583,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeProjectUser --help @@ -48640,7 +48640,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/groups/{groupId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -48680,7 +48680,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/uss?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listUSSInstances --help @@ -48727,7 +48727,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}/uss" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss" -d { } - label: Atlas CLI lang: cURL @@ -48777,7 +48777,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/groups/{groupId}/uss/{name}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}" - label: Atlas CLI lang: cURL source: atlas api deleteUSSInstance --help @@ -48827,7 +48827,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUSSInstance --help @@ -48881,7 +48881,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/groups/{groupId}/uss/{name}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/uss/{name}" -d { } - label: Atlas CLI lang: cURL @@ -48925,7 +48925,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/groups/{groupId}:migrate" + -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}:migrate" -d { } - label: Atlas CLI lang: cURL @@ -48975,7 +48975,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/groups/byName/{groupName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getProjectByName --help @@ -49024,7 +49024,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizations --help @@ -49074,7 +49074,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs" -d { } - label: Atlas CLI lang: cURL @@ -49123,7 +49123,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganization --help @@ -49164,7 +49164,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganization --help @@ -49213,7 +49213,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}" -d { } - label: Atlas CLI lang: cURL @@ -49256,7 +49256,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeys --help @@ -49302,7 +49302,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys" -d { } - label: Atlas CLI lang: cURL @@ -49351,7 +49351,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKey --help @@ -49398,7 +49398,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKey --help @@ -49455,7 +49455,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}" -d { } - label: Atlas CLI lang: cURL @@ -49507,7 +49507,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listApiKeyAccessListsEntries --help @@ -49568,7 +49568,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList" -d { } - label: Atlas CLI lang: cURL @@ -49629,7 +49629,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}" - label: Atlas CLI lang: cURL source: atlas api deleteApiKeyAccessListEntry --help @@ -49686,7 +49686,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getApiKeyAccessList --help @@ -49731,7 +49731,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage" -d { } - label: Atlas CLI lang: cURL @@ -49786,7 +49786,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/billing/costExplorer/usage/{token}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api createCostExplorerQueryProcess_1 --help @@ -49857,7 +49857,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationEvents --help @@ -49913,7 +49913,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/events/{eventId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationEvent --help @@ -49953,7 +49953,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/federationSettings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getFederationSettings --help @@ -50009,7 +50009,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationProjects --help @@ -50057,7 +50057,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationInvitations --help @@ -50104,7 +50104,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -50152,7 +50152,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/invites" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" -d { } - label: Atlas CLI lang: cURL @@ -50199,7 +50199,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - label: Atlas CLI lang: cURL source: atlas api deleteOrganizationInvitation --help @@ -50246,7 +50246,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationInvitation --help @@ -50302,7 +50302,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" -d { } - label: Atlas CLI lang: cURL @@ -50403,7 +50403,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listInvoices --help @@ -50456,7 +50456,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getInvoice --help @@ -50510,7 +50510,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/csv?pretty=true" - label: Atlas CLI lang: cURL source: atlas api downloadInvoiceCSV --help @@ -50565,7 +50565,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/{invoiceId}/lineItems/:search?pretty=true" - label: Atlas CLI lang: cURL source: atlas api queryLineItemsFromSingleInvoice --help @@ -50603,7 +50603,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invoices/pending?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listPendingInvoices --help @@ -50643,7 +50643,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/availableProjects?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listSourceProjects --help @@ -50680,7 +50680,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" - label: Atlas CLI lang: cURL source: atlas api deleteLinkToken --help @@ -50725,7 +50725,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/liveMigrations/linkTokens" -d { } - label: Atlas CLI lang: cURL @@ -50766,7 +50766,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccounts --help @@ -50811,7 +50811,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts" -d { } - label: Atlas CLI lang: cURL @@ -50854,7 +50854,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccount --help @@ -50897,7 +50897,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getServiceAccount --help @@ -50950,7 +50950,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}" -d { } - label: Atlas CLI lang: cURL @@ -50997,7 +50997,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/groups?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listServiceAccountProjects --help @@ -51049,7 +51049,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets" -d { } - label: Atlas CLI lang: cURL @@ -51098,7 +51098,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/serviceAccounts/{serviceAccountId}/secrets/{secretId}" - label: Atlas CLI lang: cURL source: atlas api deleteServiceAccountSecret --help @@ -51138,7 +51138,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/settings?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getOrganizationSettings --help @@ -51185,7 +51185,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/settings" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/settings" -d { } - label: Atlas CLI lang: cURL @@ -51232,7 +51232,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationTeams --help @@ -51284,7 +51284,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams" -d { } - label: Atlas CLI lang: cURL @@ -51337,7 +51337,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" - label: Atlas CLI lang: cURL source: atlas api deleteTeam --help @@ -51388,7 +51388,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamById --help @@ -51449,7 +51449,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PATCH "/api/atlas/v2/orgs/{orgId}/teams/{teamId}" + -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}" -d { } - label: Atlas CLI lang: cURL @@ -51506,7 +51506,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listTeamUsers --help @@ -51569,7 +51569,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" -d { } - label: Atlas CLI lang: cURL @@ -51629,7 +51629,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeTeamUser --help @@ -51678,7 +51678,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/byName/{teamName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getTeamByName --help @@ -51721,7 +51721,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/orgs/{orgId}/users?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users?pretty=true" - label: Atlas CLI lang: cURL source: atlas api listOrganizationUsers --help @@ -51771,7 +51771,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X DELETE "/api/atlas/v2/orgs/{orgId}/users/{userId}" + -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}" - label: Atlas CLI lang: cURL source: atlas api removeOrganizationUser --help @@ -51828,7 +51828,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X PUT "/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" + -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" -d { } - label: Atlas CLI lang: cURL @@ -51859,7 +51859,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" - label: Atlas CLI lang: cURL source: atlas api returnAllControlPlaneIPAddresses --help @@ -51909,7 +51909,7 @@ paths: --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ --header "Content-Type: application/vnd.atlas.2025-01-01+json" \ - -X POST "/api/atlas/v2/users" + -X POST "https://cloud.mongodb.com/api/atlas/v2/users" -d { } - label: Atlas CLI lang: cURL @@ -51956,7 +51956,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/users/{userId}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUser --help @@ -52000,7 +52000,7 @@ paths: curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \ --digest \ --header "Accept: application/vnd.atlas.2025-01-01+json" \ - -X GET "/api/atlas/v2/users/byName/{userName}?pretty=true" + -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - label: Atlas CLI lang: cURL source: atlas api getUserByUsername --help From 544c696a519a91cbac4e5fa285eb7c41636a81b2 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Wed, 21 May 2025 11:55:55 +0200 Subject: [PATCH 13/13] Update code_sample_test.go --- .../openapi/filter/code_sample_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/cli/internal/openapi/filter/code_sample_test.go b/tools/cli/internal/openapi/filter/code_sample_test.go index 10ffb6e214..5cdc8e9c77 100644 --- a/tools/cli/internal/openapi/filter/code_sample_test.go +++ b/tools/cli/internal/openapi/filter/code_sample_test.go @@ -34,7 +34,7 @@ func TestCodeSampleFilter(t *testing.T) { name: "stable api", version: "2025-01-01", oas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -57,7 +57,7 @@ func TestCodeSampleFilter(t *testing.T) { })), }, expectedOas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -80,7 +80,7 @@ func TestCodeSampleFilter(t *testing.T) { Lang: "cURL", Label: "curl", Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + - "--header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n " + "-X GET \"test?pretty=true\"", + "--header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n " + "-X GET \"https://cloud.mongodb.com/test?pretty=true\"", }, { Lang: "cURL", @@ -97,7 +97,7 @@ func TestCodeSampleFilter(t *testing.T) { name: "preview api", version: "preview", oas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -120,7 +120,7 @@ func TestCodeSampleFilter(t *testing.T) { })), }, expectedOas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -143,7 +143,7 @@ func TestCodeSampleFilter(t *testing.T) { Lang: "cURL", Label: "curl", Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + - "--header \"Accept: application/vnd.atlas.preview+json\" \\\n " + "-X GET \"test?pretty=true\"", + "--header \"Accept: application/vnd.atlas.preview+json\" \\\n " + "-X GET \"https://cloud.mongodb.com/test?pretty=true\"", }, { Lang: "cURL", @@ -160,7 +160,7 @@ func TestCodeSampleFilter(t *testing.T) { name: "upcoming api", version: "2025-01-01.upcoming", oas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -183,7 +183,7 @@ func TestCodeSampleFilter(t *testing.T) { })), }, expectedOas: &openapi3.T{ - Paths: openapi3.NewPaths(openapi3.WithPath("test", &openapi3.PathItem{ + Paths: openapi3.NewPaths(openapi3.WithPath("/test", &openapi3.PathItem{ Get: &openapi3.Operation{ OperationID: "testOperationID", Summary: "testSummary", @@ -206,7 +206,7 @@ func TestCodeSampleFilter(t *testing.T) { Lang: "cURL", Label: "curl", Source: "curl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n " + - "--header \"Accept: application/vnd.atlas.2025-01-01.upcoming+json\" \\\n " + "-X GET \"test?pretty=true\"", + "--header \"Accept: application/vnd.atlas.2025-01-01.upcoming+json\" \\\n " + "-X GET \"https://cloud.mongodb.com/test?pretty=true\"", }, { Lang: "cURL",